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

A type guard to check if the given value is a ReferenceObject. See https://www.typescriptlang.org/docs/handbook/advanced-types.html#type-guards-and-differentiating-types

Parameters

obj: unknown

The value to check.