@traversable/schema
Preparing search index...
@traversable/schema
t_enum
Interface t_enum<V>
interface
t_enum
<
V
>
{
_type
:
EnumType
<
V
>
;
def
:
V
;
tag
:
"@traversable/schema/URI::enum"
;
toJsonSchema
()
:
{
enum
:
{
-
readonly
[
K
in
string
|
number
|
symbol
]
:
V
[
K
]
extends
undefined
|
bigint
|
symbol
?
void
:
V
[
K
]
}
;
}
;
toType
()
:
EnumToString
<
V
>
;
(
u
:
unknown
)
:
u
is
EnumType
<
V
>
;
}
Type Parameters
V
t_enum
(
u
:
unknown
)
:
u
is
EnumType
<
V
>
Parameters
u
:
unknown
Returns
u
is
EnumType
<
V
>
Index
Properties
_
type
def
tag
Methods
to
Json
Schema
to
Type
Properties
_
type
_type
:
EnumType
<
V
>
def
def
:
V
tag
tag
:
"@traversable/schema/URI::enum"
Methods
to
Json
Schema
toJsonSchema
()
:
{
enum
:
{
-
readonly
[
K
in
string
|
number
|
symbol
]
:
V
[
K
]
extends
undefined
|
bigint
|
symbol
?
void
:
V
[
K
]
}
;
}
Returns
{
enum
:
{
-
readonly
[
K
in
string
|
number
|
symbol
]
:
V
[
K
]
extends
|
undefined
|
bigint
|
symbol
?
void
:
V
[
K
]
}
;
}
to
Type
toType
()
:
EnumToString
<
V
>
Returns
EnumToString
<
V
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
_
type
def
tag
Methods
to
Json
Schema
to
Type
@traversable/schema
Loading...