Skip to main content
variable isNil
import { isNil } from "https://deno.land/x/30_seconds_of_typescript@v1.0.1/util.ts";

Returns true if the specified value is null or undefined, false otherwise.

Use the strict equality operator to check if the value of val is equal to null or undefined.

type

(val: any) => unknown