Zod Utils by Ian Macalinao
Preparing search index...
zod-extra
parseInput
Function parseInput
parseInput
<
TInput
,
TOutput
>
(
schema
:
ZodType
<
TOutput
,
ZodTypeDef
,
TInput
>
,
input
:
TInput
,
)
:
TOutput
Runs a Zod schema on an input and returns the parsed output.
Type Parameters
TInput
TOutput
Parameters
schema
:
ZodType
<
TOutput
,
ZodTypeDef
,
TInput
>
input
:
TInput
Returns
TOutput
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Zod Utils by Ian Macalinao
Loading...
Runs a Zod schema on an input and returns the parsed output.