KC's Workspace
Github
Preparing search index...
@kcws/actkits
z
catch
Function catch
catch
<
T
extends
z
.
core
.
SomeType
>
(
innerType
:
T
,
catchValue
:
z
.
core
.
output
<
T
>
|
(
(
ctx
:
$ZodCatchCtx
)
=>
z
.
core
.
output
<
T
>
)
,
)
:
z
.
ZodCatch
<
T
>
Type Parameters
T
extends
z
.
core
.
SomeType
Parameters
innerType
:
T
catchValue
:
z
.
core
.
output
<
T
>
|
(
(
ctx
:
$ZodCatchCtx
)
=>
z
.
core
.
output
<
T
>
)
Returns
z
.
ZodCatch
<
T
>
Settings
Member Visibility
Protected
External
Internal
Beta
Alpha
Theme
OS
Light
Dark
Github
KC's Workspace
Loading...