Check whether an object has at least one of the given properties.
name | type | description |
---|---|---|
object | object |
The object to check. |
key1 | string |
The key of the first property to check the object for. |
key2 | string |
The key of the second property to check the object for. |
true
if at least one of the properties exists in the object, false
if neither exist.