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