import { partial } from "https://deno.land/x/valibot@v0.13.0/src/index.ts";
Creates an object schema consisting of all properties of an existing object schema set to optional.
Type Parameters
TObjectSchema extends ObjectSchema<any>
Parameters
optional
pipe: Pipe<ObjectOutput<Partial<TObjectSchema["object"]>>>A validation and transformation pipe.
Creates an object schema consisting of all properties of an existing object schema set to optional.
Type Parameters
TObjectSchema extends ObjectSchema<any>
Parameters
optional
pipe: Pipe<ObjectOutput<Partial<TObjectSchema["object"]>>>A validation and transformation pipe.