Skip to main content

matchesOperationPattern

@webda/core


Function: matchesOperationPattern()

matchesOperationPattern(pattern, operationId): boolean

Defined in: packages/core/src/core/operations.ts:895

Check if an operation id matches a glob pattern (e.g. "Billing.", "User.Delete", "")

Parameters​

pattern​

string

glob pattern

operationId​

string

operation id

Returns​

boolean

true if matches