Skip to main content

RegFilterOperation

geovisto-mapReadme | API


geovisto-map / RegFilterOperation

Class: RegFilterOperation

This class wraps the regex filter operation.

Author

Jiri Hynek

Extends

Implements

Constructors

new RegFilterOperation()

new RegFilterOperation(): RegFilterOperation

It creates the regular expression filter operation.

Returns

RegFilterOperation

Overrides

AbstractMapDomain.constructor

Source

model/internal/filter/custom/RegFilterOperation.ts:16

Methods

getName()

getName(): string

It returns the string label of the filter representing the operator.

Returns

string

Implementation of

IMapFilterOperation.getName

Overrides

AbstractMapDomain.getName

Source

model/internal/filter/custom/RegFilterOperation.ts:23


match()

match(value, pattern): boolean

It checks if a value match a regular expression pattern.

Parameters

value: unknown

pattern: string

Returns

boolean

Implementation of

IMapFilterOperation.match

Source

model/internal/filter/custom/RegFilterOperation.ts:33


toString()

toString(): string

The string representation is equal to the name of the map domain.

Returns

string

Inherited from

AbstractMapDomain.toString

Source

model/internal/domain/abstract/AbstractMapDomain.ts:18