Verifies that an object contains at least one of the requested keys
name | type | description |
---|---|---|
source | object |
an object on which to check for key existence |
keys | Array.<string> |
an array of keys to search the object for |
true if the source object contains at least one of the keys, false otherwise