Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
function isSchemaObject
import { isSchemaObject } from "https://deno.land/x/openbox@1.2.10/mod.ts";

A type guard to check if the given object is a SchemaObject. Useful to distinguish from ReferenceObject values that can be used in most places where SchemaObject is allowed.

See https://www.typescriptlang.org/docs/handbook/advanced-types.html#type-guards-and-differentiating-types

Parameters

The value to check.