repl.txt (495B)
1 2 {{alias}}( value ) 3 Tests if a value is an array-like object. 4 5 If provided a string, the function returns `false`. 6 7 Parameters 8 ---------- 9 value: any 10 Value to test. 11 12 Returns 13 ------- 14 bool: boolean 15 Boolean indicating whether a value is an array-like object. 16 17 Examples 18 -------- 19 > var bool = {{alias}}( [] ) 20 true 21 > bool = {{alias}}( { 'length': 10 } ) 22 true 23 > bool = {{alias}}( 'beep' ) 24 false 25 26 See Also 27 -------- 28