Methods
(inner) add(expression)
Add Expression to QualitySet.
Parameters:
Name | Type | Description |
---|---|---|
expression |
object | Expression to add to set. |
- Source:
(inner) check(s) → {boolean}
Check (validate) the entire set against a State.
Parameters:
Name | Type | Description |
---|---|---|
s |
State | the state used to check qualities. |
- Source:
Returns:
If set is valid.
- Type
- boolean
(inner) has(s) → {boolean}
If set has an Expression or not.
Parameters:
Name | Type | Description |
---|---|---|
s |
object | Expression to find. |
- Source:
Returns:
If Expression is in set or not.
- Type
- boolean
(inner) remove(s)
Remove expression from set.
Parameters:
Name | Type | Description |
---|---|---|
s |
object | Expression to remove. |
- Source:
(inner) size() → {number}
Size
- Source:
Returns:
Size of internal array.
- Type
- number