object-shape-tester - v5.1.6
Preparing search index...
isEnumShapeSpecifier
Function isEnumShapeSpecifier
isEnumShapeSpecifier
(
maybeSpecifier
:
unknown
,
)
:
maybeSpecifier
is
ShapeEnum
<
[
Record
<
string
,
string
|
number
>
,
(
string
|
number
)
?
]
,
>
Checks if the input is an
enumShape
shape specifier for internal type guarding purposes.
Parameters
maybeSpecifier
:
unknown
Returns
maybeSpecifier
is
ShapeEnum
<
[
Record
<
string
,
string
|
number
>
,
(
string
|
number
)
?
]
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
object-shape-tester - v5.1.6
Loading...
Checks if the input is an enumShape shape specifier for internal type guarding purposes.