Function isNullish

  • Check if input is null or undefined

    Parameters

    • input: unknown

      Value to check

    Returns input is undefined | null

    true if the input is null or undefined, false otherwise