import { intersectAsync } from "https://deno.land/x/valibot@v1.0.0-beta.2-to-json-schema/src/index.ts";
Creates an intersect schema.
Type Parameters
TOptions extends IntersectOptionsAsync
Parameters
options: TOptions
The intersect options.
Returns
IntersectSchemaAsync<TOptions, undefined>
An intersect schema.
Creates an intersect schema.
Type Parameters
TOptions extends IntersectOptionsAsync
TMessage extends ErrorMessage<IntersectIssue> | undefined
Returns
An intersect schema.