bupkis
API
Assertions
Preparing search index...
bupkis
z
safeParse
Variable safeParse
Const
safeParse
:
<
T
extends
z
.
core
.
$ZodType
>
(
schema
:
T
,
value
:
unknown
,
_ctx
?:
ParseContext
<
$ZodIssue
>
,
)
=>
ZodSafeParseResult
<
z
.
core
.
output
<
T
>
>
Type Declaration
<
T
extends
z
.
core
.
$ZodType
>
(
schema
:
T
,
value
:
unknown
,
_ctx
?:
ParseContext
<
$ZodIssue
>
,
)
:
ZodSafeParseResult
<
z
.
core
.
output
<
T
>
>
Type Parameters
T
extends
z
.
core
.
$ZodType
Parameters
schema
:
T
value
:
unknown
Optional
_ctx
:
ParseContext
<
$ZodIssue
>
Returns
ZodSafeParseResult
<
z
.
core
.
output
<
T
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
API
Assertions
GitHub
npm
bupkis
Loading...