Function isBoolean

  • Returns whether the payload is a boolean

    Parameters

    • payload: unknown

    Returns payload is boolean