29 lines
495 B
Plaintext
29 lines
495 B
Plaintext
|
|
||
|
{{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
|
||
|
--------
|
||
|
|