Checks whether the target object has own property with the given key.
target
key
This is a safer variant of target.hasOwnProperty(key) call.
target.hasOwnProperty(key)
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/hasOwnProperty
Target object to check.
A key of the property to check.
true if target object has own property with the given key, or false otherwise.
true
false
Generated using TypeDoc
Checks whether the
target
object has own property with the givenkey
.This is a safer variant of
target.hasOwnProperty(key)
call.See
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/hasOwnProperty