Checks if the given object has the given property.
isPropertyDefined({ wer: 'asd' }, 'wer'); // true isPropertyDefined({}, 'wer'); // false
The object to check.
The name of the property to search for.
Whether the object has the property.
Generated using TypeDoc
Checks if the given object has the given property.
isPropertyDefined({ wer: 'asd' }, 'wer'); // true isPropertyDefined({}, 'wer'); // false