bupkis
API
Assertions
Preparing search index...
bupkis
z
core
$ZodRegistry
Class $ZodRegistry<Meta, Schema>
Type Parameters
Meta
extends
MetadataType
=
MetadataType
Schema
extends
z
.
core
.
$ZodType
=
z
.
core
.
$ZodType
Index
Constructors
constructor
Properties
_
meta
_
schema
_
map
_
idmap
Methods
add
clear
remove
get
has
Constructors
constructor
new
$ZodRegistry
<
Meta
extends
MetadataType
=
MetadataType
,
Schema
extends
z
.
core
.
$ZodType
<
unknown
,
unknown
,
$ZodTypeInternals
<
unknown
,
unknown
>
>
=
z
.
core
.
$ZodType
<
unknown
,
unknown
,
$ZodTypeInternals
<
unknown
,
unknown
>
,
>
,
>
()
:
$ZodRegistry
<
Meta
,
Schema
>
Type Parameters
Meta
extends
MetadataType
=
MetadataType
Schema
extends
z
.
core
.
$ZodType
<
unknown
,
unknown
,
$ZodTypeInternals
<
unknown
,
unknown
>
>
=
z
.
core
.
$ZodType
<
unknown
,
unknown
,
$ZodTypeInternals
<
unknown
,
unknown
>
>
Returns
$ZodRegistry
<
Meta
,
Schema
>
Properties
_
meta
_meta
:
Meta
_
schema
_schema
:
Schema
_
map
_map
:
Map
<
Schema
,
$replace
<
Meta
,
Schema
>
>
_
idmap
_idmap
:
Map
<
string
,
Schema
>
Methods
add
add
<
S
extends
z
.
core
.
$ZodType
<
unknown
,
unknown
,
$ZodTypeInternals
<
unknown
,
unknown
>
>
,
>
(
schema
:
S
,
...
_meta
:
undefined
extends
Meta
?
[
$replace
<
Meta
,
S
>
?
]
:
[
$replace
<
Meta
,
S
>
]
,
)
:
this
Type Parameters
S
extends
z
.
core
.
$ZodType
<
unknown
,
unknown
,
$ZodTypeInternals
<
unknown
,
unknown
>
>
Parameters
schema
:
S
...
_meta
:
undefined
extends
Meta
?
[
$replace
<
Meta
,
S
>
?
]
:
[
$replace
<
Meta
,
S
>
]
Returns
this
clear
clear
()
:
this
Returns
this
remove
remove
(
schema
:
Schema
)
:
this
Parameters
schema
:
Schema
Returns
this
get
get
<
S
extends
z
.
core
.
$ZodType
<
unknown
,
unknown
,
$ZodTypeInternals
<
unknown
,
unknown
>
>
,
>
(
schema
:
S
,
)
:
undefined
|
$replace
<
Meta
,
S
>
Type Parameters
S
extends
z
.
core
.
$ZodType
<
unknown
,
unknown
,
$ZodTypeInternals
<
unknown
,
unknown
>
>
Parameters
schema
:
S
Returns
undefined
|
$replace
<
Meta
,
S
>
has
has
(
schema
:
Schema
)
:
boolean
Parameters
schema
:
Schema
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_
meta
_
schema
_
map
_
idmap
Methods
add
clear
remove
get
has
API
Assertions
GitHub
npm
bupkis
Loading...