import { isRecord } from "https://deno.land/x/fun@v2.0.0/refinement.ts";
An instance of Refinement<unknown, Record<string, unknown>>
.
Examples
Example 1
Example 1
import * as R from "./refinement.ts";
const result1 = R.isRecord(null); // false
const result2 = R.isRecord({});
// true, a variable is now typed as Record<string, unknown>