repl.txt (684B)
1 2 {{alias}}( value, property ) 3 Tests if an object has an inherited property. 4 5 Value arguments other than `null` or `undefined` are coerced to objects. 6 7 Non-symbol property arguments are coerced to strings. 8 9 Parameters 10 ---------- 11 value: any 12 Value to test. 13 14 property: any 15 Property to test. 16 17 Returns 18 ------- 19 bool: boolean 20 Boolean indicating if an object has an inherited property. 21 22 Examples 23 -------- 24 > var beep = { 'boop': true }; 25 > var bool = {{alias}}( beep, 'boop' ) 26 false 27 > bool = {{alias}}( beep, 'toString' ) 28 true 29 > bool = {{alias}}( beep, 'bop' ) 30 false 31 32 See Also 33 -------- 34