@launchdarkly/js-server-sdk-common - v2.26.1
Preparing search index...
OneOf
Class OneOf
Validate a value is a string matching one of the allowed values.
Implements
TypeValidator
Index
Constructors
constructor
Methods
get
Type
is
Constructors
constructor
new
OneOf
(
values
:
readonly
string
[]
)
:
OneOf
Parameters
values
:
readonly
string
[]
Returns
OneOf
Methods
get
Type
getType
()
:
string
Returns
string
is
is
(
u
:
unknown
)
:
u
is
string
Parameters
u
:
unknown
Returns
u
is
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
Type
is
@launchdarkly/js-server-sdk-common - v2.26.1
Loading...
Validate a value is a string matching one of the allowed values.