Function isNullOrUndefined

  • Returns true whether the payload is null or undefined

    Parameters

    • payload: unknown

    Returns payload is undefined | null