Interface Filter

A Filter receives a message and evaluates it according to the specified rule.

interface Filter {
    filterId: undefined | string;
    toString: (() => string);
    (msg): boolean;
}

Hierarchy (view full)

Properties

Properties

filterId: undefined | string
toString: (() => string)

Type declaration

    • (): string
    • Returns string