Skip to main content
Module

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

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
function _subIssues
import { _subIssues } from "https://deno.land/x/valibot@v0.1.0-to-json-schema/src/schemas/union/utils/index.ts";

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

Parameters

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

The datasets.

Returns

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

The sub issues.