Function isPlainObject

  • Tests for whether the given value is a plain object.

    An object is plain if it is created by either: {}, new Object() or Object.create(null).

    Parameters

    • value: unknown

      Any value

    Returns value is JSONObject

    Is it a plain object.