Skip to main content
Module

x/json_db/util.ts>typeOf

A library to create simple json databases
Latest
function typeOf
import { typeOf } from "https://deno.land/x/json_db@0.0.4/util.ts";

A fixed typeof function
Examples:

typeOf([]) // "array"
typeOf(null) // "null"
typeOf({}.x) // "undefined"

Parameters

value: unknown