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