Skip to main content
Module

x/valibot/mod.ts>getDefaultArgs

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
function getDefaultArgs
Re-export
import { getDefaultArgs } from "https://deno.land/x/valibot@v0.13.1/mod.ts";

Returns error and pipe from dynamic arguments.

Type Parameters

TPipe extends Pipe<any> | PipeAsync<any>

Parameters

arg1: string | TPipe | undefined

First argument.

arg2: TPipe | undefined

Second argument.

Returns

[string | undefined, TPipe | undefined]

The default arguments.