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

x/typebox/src/typebox.ts>TypeGuard.TReadonlyOptional

JSON Schema Type Builder with Static Type Resolution for TypeScript
Go to Latest
function TypeGuard.TReadonlyOptional
import { TypeGuard } from "https://deno.land/x/typebox@0.26.0-dev.1/src/typebox.ts";
const { TReadonlyOptional } = TypeGuard;

Returns true if this schema has the ReadonlyOptional modifier

Parameters

schema: T