Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/alosaur/openapi/builder/openapi-models.ts>isReferenceObject

Alosaur - Deno web framework with many decorators
Go to Latest
function isReferenceObject
import { isReferenceObject } from "https://deno.land/x/alosaur@v0.37.0/openapi/builder/openapi-models.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: object

The value to check.