Checks if an object has any own properties.
hasOwnKeys({ a: 1, b: 2 }); // truehasOwnKeys({ a: undefined }); // truehasOwnKeys({ a: null }); // truehasOwnKeys({}); // falsehasOwnKeys(undefined); // falsehasOwnKeys(null); // false Copy
hasOwnKeys({ a: 1, b: 2 }); // truehasOwnKeys({ a: undefined }); // truehasOwnKeys({ a: null }); // truehasOwnKeys({}); // falsehasOwnKeys(undefined); // falsehasOwnKeys(null); // false
Checks if an object has any own properties.