@pengzhanbo/utils - v3.7.3
    Preparing search index...

    Function isPlainObject

    • Checks if the input is an object.

      检查输入是否为对象。

      Type Parameters

      Parameters

      • v: unknown

        The value to check. 要检查的值

      Returns v is T

      True if the value is an object, false otherwise. 如果值为对象则返回 true,否则返回 false

      isPlainObject({}) // => true
      isPlainObject(new Map()) // => false
      isPlainObject(Object.create(null)) // => true