Function isNullOrUndefined

check if the given variable is null or undefined

  • Parameters

    • variable: any

    Returns boolean

    true if given variable is null or undefined, false in other cases