bupkis
API
Assertions
Preparing search index...
bupkis
z
catch
Function catch
catch
<
T
extends
SomeType
>
(
innerType
:
T
,
catchValue
:
z
.
core
.
output
<
T
>
|
(
(
ctx
:
$ZodCatchCtx
)
=>
z
.
core
.
output
<
T
>
)
,
)
:
z
.
ZodCatch
<
T
>
Type Parameters
T
extends
SomeType
Parameters
innerType
:
T
catchValue
:
z
.
core
.
output
<
T
>
|
(
(
ctx
:
$ZodCatchCtx
)
=>
z
.
core
.
output
<
T
>
)
Returns
z
.
ZodCatch
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
API
Assertions
GitHub
npm
bupkis
Loading...