Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/kd_clients/core/Utils.ts>Utils.isNullOrEmptyOrUndefined

Various types of HTTP clients for misc uses. This is used in the organization's infrastructure.
Go to Latest
method Utils.isNullOrEmptyOrUndefined
import { Utils } from "https://deno.land/x/kd_clients@v0.0.5/core/Utils.ts";

Checks if the value is null, undefined, or empty.

Parameters

value:
| undefined
| null
| string
| number
| boolean
| T[]
| (() => T)
| object

The value to check.

Returns

value is
| undefined
| null
| ""
| number
| T[]
| (() => T)

True if the value is null, undefined, or empty, otherwise false.