new ComposedVars(…texts)
Creates an instance of ComposeVars.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
texts |
Array |
<repeatable> |
Array of field names |
Methods
getMembers() → {Array}
Get all the field names from composed variable instance.
Returns:
Array of field names.
- Type
- Array
getMinDiff() → {number}
Returns the consecutive minimum difference of the field values.
Returns:
Minimum consecutive difference.
- Type
- number
numberFormat() → {function}
Returns the number formatter function of the variable.
Returns:
Number formatter function of the variable.
- Type
- function
subtype() → {string}
Returns the subtype of the fields associated with this variable instance.
Returns:
Subtype of the variable.
- Type
- string
type() → {string}
Type of field associated with this composed variable.
Returns:
Type of variable (Measure/Dimension).
- Type
- string