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.isNothing

Various HTTP clients for miscellaneous use.
Latest
method Utils.isNothing
import { Utils } from "https://deno.land/x/kd_clients@v1.0.0-preview.13/core/Utils.ts";

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

Parameters

value: unknown

The value to check.

Returns

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

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