Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/unknownutil/mod.ts>isRecord

🦕 A lightweight utility pack for handling unknown type
Go to Latest
function isRecord
import { isRecord } from "https://deno.land/x/unknownutil@v3.12.1/mod.ts";

Return true if the type of x is RecordOf<unknown>.

Parameters

x: unknown

Returns

x is RecordOf<unknown>