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

x/authlete_deno/mod.ts>isEmpty

Authlete Library for Deno
Go to Latest
function isEmpty
Re-export
import { isEmpty } from "https://deno.land/x/authlete_deno@v1.2.9/mod.ts";

Check if the given value is empty.

Type Parameters

T extends string | any[] | object

Parameters

value:
| undefined
| null
| Bottom<T>
| T

Returns

value is undefined | null | Bottom<T>