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

x/valibot/src/schemas/union/utils/index.ts>_subIssues

The modular and type safe schema library for validating structural data 🤖
Latest
function _subIssues
import { _subIssues } from "https://deno.land/x/valibot@v1.0.0-beta.7/src/schemas/union/utils/index.ts";

Returns the sub issues of the provided datasets for the union issue.

Parameters

datasets: OutputDataset<unknown, BaseIssue<unknown>>[] | undefined

The datasets.

Returns

[BaseIssue<unknown>, ...BaseIssue<unknown>[]] | undefined

The sub issues.