value to test
property to test
boolean indicating if an object has an inherited property
var obj = {
'boop': true
};
var bool = isInheritedProperty( obj, 'toString' );
// returns true
var obj = {
'boop': true
};
var bool = isInheritedProperty( obj, 'boop' );
// returns false
var obj = {
'boop': true
};
var bool = isInheritedProperty( obj, 'bap' );
// returns false
Tests if an object has an inherited property.