PURISTA API / @purista/mqttbridge / isMatchingTopic
Function: isMatchingTopic()
isMatchingTopic(
input
,pattern
):boolean
Defined in: mqttbridge/src/topic/isMatchingTopic.impl.ts:8
Checks if a given topic is matching against a subscription pattern
Parameters
input
string
the real full topic
pattern
string
the topic subscription pattern
Returns
boolean