Skip to content

@swapped/connect-sdk / core / evaluateCondition

Function: evaluateCondition()

evaluateCondition(condition): boolean

Defined in: src/config/remote-config.resolve.ts:67

Evaluate a remote condition against the current platform. A boolean applies as-is. A check name runs that predicate. An array (or { all }) is AND. { any } is OR. { not } negates.

Parameters

condition

SwappedRemoteConfigCondition

Returns

boolean