Skip to main content

operationPatternMatches

@webda/core


Function: operationPatternMatches()

operationPatternMatches(operationId, pattern): boolean

Defined in: packages/core/src/services/operationstransport.ts:12

Whether an operation id matches a transport pattern

Parameters​

operationId​

string

the operation identifier

pattern​

string

*, a prefix such as Service.*, or an exact id

Returns​

boolean

true when it matches