UNPKG

claude-flow

Version:

Enterprise-grade AI agent orchestration with ruv-swarm integration (Alpha Release)

30 lines (21 loc) 501 B
/** Check if a value is a plain object. An object is plain if it's created by either `{}`, `new Object()`, or `Object.create(null)`. @example ``` import isPlainObject = require('is-plain-obj'); constructor({foo: 'bar'}); //=> true constructor(new Object()); //=> true constructor(Object.create(null)); //=> true constructor([1, 2, 3]); //=> false class Unicorn {} constructor(new Unicorn()); //=> false ``` */ declare function isPlainObj(value: unknown): value is object; export = isPlainObj;