UNPKG

json-schema-library

Version:

Customizable and hackable json-validator and json-schema utilities for traversal, data generation and validation

6 lines (4 loc) 144 B
import getTypeOf from "../getTypeOf"; export function isObject(v: any): v is Record<string, unknown> { return getTypeOf(v) === "object"; }