import { partial } from "https://deno.land/x/valibot@v1.0.0-beta.7/src/methods/index.ts";
Creates a modified copy of an object schema that marks all entries as optional.
Parameters
schema: TSchema
The schema to modify.
Returns
SchemaWithPartial<TSchema, undefined>
An object schema.
Creates a modified copy of an object schema that marks the selected entries as optional.
Type Parameters
TKeys extends ObjectKeys<TSchema>
Returns
An object schema.