Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/object/index.ts>isValid

A JavaScript extension package for building strong and modern applications.
Latest
function isValid
import { isValid } from "https://deno.land/x/ayonli_jsext@v0.9.72/object/index.ts";

Returns true if the given value is valid. The following values are considered invalid:

  • undefined
  • null
  • NaN
  • Invalid Date

Parameters

value: unknown

Returns

boolean