@jagaad/utils
    Preparing search index...

    Function hasOwnKeys

    • Checks if an object has any own properties.

      hasOwnKeys({ a: 1, b: 2 }); // true
      hasOwnKeys({ a: undefined }); // true
      hasOwnKeys({ a: null }); // true
      hasOwnKeys({}); // false
      hasOwnKeys(undefined); // false
      hasOwnKeys(null); // false

      Parameters

      Returns boolean