Skip to main content
Module

x/unknownutil/is.ts>isRecordLike

🦕 A lightweight utility pack for handling unknown type
Go to Latest
function isRecordLike
Deprecated
Deprecated

Use is.Record instead.

import { isRecordLike } from "https://deno.land/x/unknownutil@v3.18.0/is.ts";

Return true if the type of x is like Record<PropertyKey, unknown>.

Parameters

x: unknown

Returns

x is Record<PropertyKey, unknown>