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

x/smx/src/modules/utils/guards.ts>isValue

Manage and sync scripts, configs and templates between computers
Latest
function isValue
import { isValue } from "https://deno.land/x/smx@v0.6.0/src/modules/utils/guards.ts";

Check if value is not undefined or null

Parameters

e: unknown

value to validate

Returns

e is T

True if value is not undefined or null