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

29 lines
495 B
Plaintext
Raw Normal View History

{{alias}}( value )
Tests if a value is an array-like object.
If provided a string, the function returns `false`.
Parameters
----------
value: any
Value to test.
Returns
-------
bool: boolean
Boolean indicating whether a value is an array-like object.
Examples
--------
> var bool = {{alias}}( [] )
true
> bool = {{alias}}( { 'length': 10 } )
true
> bool = {{alias}}( 'beep' )
false
See Also
--------