Classes
Members
fallback :boolean
Flag indicating whether this ColumnValueSet
using an Array
as its backing store due to the Set
constructor not being available.
Type:
- boolean
- Source:
(private) values :Set|Array
Backing collection containing values added to this set from CellInterpreter or HTMLTableWrapperControl~populateCellValues
implementations. If the Set
constructor is defined, will be a Set
, otherwise will fall back to an Array
.
Type:
- Set | Array
- Source:
Methods
add(value, noTrimopt)
Adds the given value
to this set. By default, the value is trim
med prior to being added, unless the noTrim
parameter is
passed, and evaluates to true
.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
value |
string | Value to add to this set. |
|
noTrim |
boolean |
<optional> |
If |
- Source:
clear()
Clears all values from this ColumnValueSet
.
- Source:
iterator() → {Iterator}
Function that the ES6 protocol for iterable objects. Regardless of the backing data store, an ES6 Iterator will be returned.
- Source:
Returns:
An object that implements the ES6 protocol for Iterators.
- Type
- Iterator