Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

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

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

Parameters

value:
| undefined
| null
| string
| T[]
| object

The value to check.

optional
funcName = [UNSUPPORTED]
optional
paramName = [UNSUPPORTED]

Returns

void

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