bupkis
API
Assertions
Preparing search index...
bupkis
z
_default
Function _default
_default
<
T
extends
SomeType
>
(
innerType
:
T
,
defaultValue
:
|
NoUndefined
<
z
.
core
.
output
<
T
>
>
|
(
()
=>
NoUndefined
<
z
.
core
.
output
<
T
>
>
)
,
)
:
z
.
ZodDefault
<
T
>
Type Parameters
T
extends
SomeType
Parameters
innerType
:
T
defaultValue
:
NoUndefined
<
z
.
core
.
output
<
T
>
>
|
(
()
=>
NoUndefined
<
z
.
core
.
output
<
T
>
>
)
Returns
z
.
ZodDefault
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
API
Assertions
GitHub
npm
bupkis
Loading...