@snailicide/g-library
Preparing search index...
index
zodHelpers
ensureArray
Variable ensureArray
ensureArray
:
<
Type
extends
ZodTypeAny
>
(
schema
:
Type
,
)
=>
ZodEffects
<
ZodUnion
<
[
ZodArray
<
Type
,
"many"
>
,
Type
]
>
,
Type
[
"_output"
]
[]
>
Type declaration
<
Type
extends
ZodTypeAny
>
(
schema
:
Type
,
)
:
ZodEffects
<
ZodUnion
<
[
ZodArray
<
Type
,
"many"
>
,
Type
]
>
,
Type
[
"_output"
]
[]
>
Type Parameters
Type
extends
ZodTypeAny
Parameters
schema
:
Type
Returns
ZodEffects
<
ZodUnion
<
[
ZodArray
<
Type
,
"many"
>
,
Type
]
>
,
Type
[
"_output"
]
[]
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@snailicide/g-library
Loading...