Function isPlainObject

  • Value is a plain object, created using typical {object: "notation"} or an object with no prototype ({__proto__:null} or Object.create(null)). Functions, Dates, Maps, Sets, Errors, RegExps, arrays and libraries like Math are not considered plain, nor are objects that have tampered with [Symbol.toStringTag].

    Parameters

    • obj: any

    Returns obj is Record<PropertyKey, unknown>

Generated using TypeDoc