Classes
Members
Methods
# comparisonProcessor() → {Record.<string, any>}
Getter for comparison processor
Record.<string, any>
# getComparisonProcessorMethods() → {Array.<string>}
Retrieve comparison methods from comparison processor
List of methods of comparison processor
Array.<string>
# isRuleMatched(data, ruleSet) → {boolean}
Check input data matching to rule set
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Record.<string, (string|number)>
|
string
|
number
|
Single value or key-value data set to compare |
ruleSet |
RuleSet
|
boolean
# isValidRule(rule) → {boolean}
Check is rule object valid
Parameters:
| Name | Type | Description |
|---|---|---|
rule |
object
|
boolean