UNPKG

safers

Version:

Safely convert to the desired data and error-free refine values.

13 lines (12 loc) 265 B
import { isObject as r } from "./isObject.js"; import "../../lib/identifyType-d39b7385.js"; function n(t) { try { return !!t && r(t) && Object.keys(t).length === 0 && t.constructor === Object; } catch { return !1; } } export { n as isEmptyObject };