deep-trails - v3.0.0-beta.3
    Preparing search index...

    Function isPlainObject

    • Checks whether a value is a non-function object and its prototype is null or Object.prototype.

      Type Parameters

      • T

      Parameters

      • value: T

      Returns value is Record<PropertyKey, any>

      isPlainObject({ key: "value" })     // true
      isPlainObject(JSON.parse("{}")) // true
      isPlainObject(Object.create(null)) // true
      isPlainObject(new Object()) // true

      3.0.0-beta.1