Skip to content

hasEnumerableKeys()

Checks whether an object has at least one enumerable key.

Example:

ts
hasEnumerableKeys({ id: 1 }); // true
hasEnumerableKeys({}); // false

Released under the MIT License.