SPeCS Packages Documentation
Preparing search index...
@specs-feup/lara
lara/util/PredefinedStrings
PredefinedStrings
Class PredefinedStrings
Represents a set of predefined strings.
Index
Constructors
constructor
Methods
is
Valid
parse
test
values
Constructors
constructor
new
PredefinedStrings
(
name
:
string
,
strict
:
boolean
,
...
values
:
string
[]
,
)
:
PredefinedStrings
Parameters
name
:
string
strict
:
boolean
...
values
:
string
[]
Returns
PredefinedStrings
Methods
is
Valid
isValid
(
value
:
string
)
:
boolean
Parameters
value
:
string
Returns
boolean
True if the given String is a valid value.
parse
parse
(
...
args
:
string
[]
)
:
string
[]
Parameters
...
args
:
string
[]
Returns
string
[]
test
test
(
value
:
string
)
:
boolean
Parameters
value
:
string
Returns
boolean
values
values
()
:
string
[]
Returns
string
[]
Available values.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
is
Valid
parse
test
values
SPeCS Packages Documentation
Loading...
Represents a set of predefined strings.