UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

11 lines (10 loc) • 425 B
//#region src/infra/plain-object.ts /** * Config merge/patch uses the object tag, not prototype identity: class instances * and custom prototypes remain accepted, while Date/Map/Set values are excluded. */ function isPlainObject(value) { return typeof value === "object" && value !== null && !Array.isArray(value) && Object.prototype.toString.call(value) === "[object Object]"; } //#endregion export { isPlainObject as t };