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