isObject
isObject(target)
Checks if target
is a plain object.
ts
isObject({ a: 1 }); // true
isObject([]); // false
isObject(null); // false
isObject("hello"); // false
ts
pipe({ a: 1 }, isObject()); // true
pipe([], isObject()); // false
pipe(null, isObject()); // false
pipe("hello", isObject()); // false