Skip to main content
Module

x/ok_computer/utils.ts>isPrimitiveValue

λ "Functions all the way down" data validation for JavaScript and TypeScript.
Latest
variable isPrimitiveValue
import { isPrimitiveValue } from "https://deno.land/x/ok_computer@v2.0.2/utils.ts";

type

(val: unknown) => val is
| string
| number
| bigint
| boolean
| undefined
| symbol
| null