Skip to main content

isOperationEnabled

@webda/core


Function: isOperationEnabled()

isOperationEnabled(context, operationId, operation?): Promise<boolean>

Defined in: packages/core/src/services/featureflags.ts:251

Check whether all feature flags for an operation are enabled for the given context

Parameters​

context​

OperationContext

execution context

operationId​

string

operation identifier

operation?​

OperationDefinition

optional operation definition

Returns​

Promise<boolean>

true if the operation is enabled (or has no flags), false otherwise