Skip to main content
Module

x/hkts/fns.ts>typeOf

Functional programming tools: option, either, task, state, optics, etc.
Latest
variable typeOf
import { typeOf } from "https://deno.land/x/hkts@v0.0.52/fns.ts";

TypeOf

An extended typeOf function that returns "null" for null instead of "object"


type

(x: unknown) =>
| "string"
| "number"
| "bigint"
| "boolean"
| "symbol"
| "undefined"
| "object"
| "function"
| "null"