UNPKG

341 BJavaScriptView Raw
1export function isNonNullObject(obj) {
2 return obj !== null && typeof obj === "object";
3}
4export function isPlainObject(obj) {
5 return (obj !== null &&
6 typeof obj === "object" &&
7 (Object.getPrototypeOf(obj) === Object.prototype ||
8 Object.getPrototypeOf(obj) === null));
9}
10//# sourceMappingURL=objects.js.map
\No newline at end of file