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