Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.35.0/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.