Module

std/node/util.ts

Deno standard library
Go to Latest
function isPrimitive
Deprecated
Deprecated
  • use value === null || (typeof value !== "object" && typeof value !== "function") instead.
import { isPrimitive } from "https://deno.land/std@0.145.0/node/util.ts";

Parameters

value: unknown

Returns

boolean