import { matches } from "https://deno.land/x/embassyd_sdk@v0.3.4-alpha1/mod.ts";
const { some } = matches;
Union is a good tool to make sure that the validated value
is in the union of all the validators passed in. Basically an or
operator for validators.
Type Parameters
RestParsers extends Parser<unknown, unknown>[]
Parameters
...parsers: RestParsers
Returns
SomeParsers<RestParsers>