Function isPlainObject

  • Returns whether the payload is a plain JavaScript object (excluding special classes or objects with other prototypes)

    Parameters

    • payload: unknown

    Returns payload is PlainObject