time-to-botec/js/node_modules/@stdlib/assert/is-empty-object/docs/repl.txt

27 lines
422 B
Plaintext
Raw Normal View History

{{alias}}( value )
Tests if a value is an empty object.
Parameters
----------
value: any
Value to test.
Returns
-------
bool: boolean
Boolean indicating if a value is an empty object.
Examples
--------
> var bool = {{alias}}( {} )
true
> bool = {{alias}}( { 'beep': 'boop' } )
false
> bool = {{alias}}( [] )
false
See Also
--------