Skip to main content

@uwu/utils@1.0.2

latest

Horrible utilities for horrible people

This package works with Node.js, BrowsersIt is unknown whether this package works with Bun, Cloudflare Workers, Deno
JSR Score
100%
Published
4 months ago (1.0.2)
variable isValid

Ensure that value is not null, undefined or NaN

Type

<T>(value: T | null | undefined) => value is T

Add Package

deno add @uwu/utils

Import symbol

import { isValid } from "@uwu/utils";

Add Package

npx jsr add @uwu/utils

Import symbol

import { isValid } from "@uwu/utils";

Add Package

yarn dlx jsr add @uwu/utils

Import symbol

import { isValid } from "@uwu/utils";

Add Package

pnpm dlx jsr add @uwu/utils

Import symbol

import { isValid } from "@uwu/utils";

Add Package

bunx jsr add @uwu/utils

Import symbol

import { isValid } from "@uwu/utils";