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