Simple Array Filter
Version note: this reference describes Nanook 1.x (JavaScript). Since 2.0 (March 2026) Nanook is TypeScript/ESM; Processor is now TestcaseProcessor, TDGServiceRegistry is DataGeneratorRegistry. The current reference is on this site: API reference, 3.x rows, generated from the repository.
SimpleArrayFilterProcessor
A filter processor is used to filter Test cases in a decision table. A filter is registered with its name at the processor. In the decision table the filter name is referenced. Then the result is filtered with the given filter processor
Kind: global class
new SimpleArrayFilterProcessor(name, delimiter)
| Param | Type | Description |
|---|---|---|
| name | string |
A name for this Filter |
| delimiter | string |
A delimiter used to split the expression |
simpleArrayFilterProcessor.filter(tags, expression) ⇒ boolean
This method filters the tags with the given expression
Kind: instance method of SimpleArrayFilterProcessor
Returns: boolean - true returns a true value if the filter processor
could filter a result
| Param | Type | Description |
|---|---|---|
| tags | array |
An array with all the tags on the test case |
| expression | string |
An expression for this filter processor |