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

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

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

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

Parameters

value:
| undefined
| null
| string
| number
| 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.