isEmpty
Checks whether an object has no own enumerable string keys.
Import:
import 'obsidian-test-mocks/setup';Signature:
function isEmpty(object: Record<string, unknown>): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
object |
Record<string, unknown> | The object to check. |
Returns: boolean — true when object has no keys.