openapi-zod-client-yohoji
Version:
[](https://openapi-zod-client.vercel.app/)
9 lines (8 loc) • 352 B
TypeScript
import type { ReferenceObject } from "openapi3-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
*
* @param obj The value to check.
*/
export declare function isReferenceObject(obj: any): obj is ReferenceObject;