@lucid-softworks/object-is-empty
v0.1.0
Published
Check for own enumerable string or symbol properties.
Maintainers
Readme
@lucid-softworks/object-is-empty
Check whether an object has no own enumerable string or symbol properties. Inherited and non-enumerable properties are ignored.
import { isEmptyObject } from "@lucid-softworks/object-is-empty";
isEmptyObject({}); // true
isEmptyObject({ value: undefined }); // false