repl.txt (544B)
1 2 {{alias}}( value ) 3 Tests if a value is object-like. 4 5 Return values are the same as would be obtained using the built-in `typeof` 6 operator except that `null` is not considered an object. 7 8 Parameters 9 ---------- 10 value: any 11 Value to test. 12 13 Returns 14 ------- 15 bool: boolean 16 Boolean indicating whether value is object-like. 17 18 Examples 19 -------- 20 > var bool = {{alias}}( {} ) 21 true 22 > bool = {{alias}}( [] ) 23 true 24 > bool = {{alias}}( null ) 25 false 26 27 See Also 28 -------- 29