import { isSchemaObject } from "https://dotland.deno.dev/x/alosaur@v0.37.0/openapi/builder/openapi-models.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.
Returns
schema is SchemaObject