Represents the result of a topic matcher test.

interface MatcherResult {
    matches: boolean;
    params?: Map<string, string>;
}

Properties

Properties

matches: boolean

Indicates if the topic matches the pattern topic.

params?: Map<string, string>

Contains the actual values for the wildcard segments as defined in the pattern topic; is only set if the match is successful.