Skip to main content
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.21.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.