isEmpty
ts
function Object.isEmpty<T extends object>(target: T): booleanChecks if target object has no enumerable properties.
Example
ts
import { Object } from "@monstermann/object";
Object.isEmpty({}); // true
Object.isEmpty({ a: 1 }); // falsets
import { Object } from "@monstermann/object";
pipe({}, Object.isEmpty()); // true
pipe({ a: 1 }, Object.isEmpty()); // false