Skip to content

@swapped/connect-sdk / core / SwappedRemoteConfigCondition

Type Alias: SwappedRemoteConfigCondition

SwappedRemoteConfigCondition = boolean | SwappedRemoteConfigPlatformCheck | SwappedRemoteConfigCondition[] | { all: SwappedRemoteConfigCondition[]; } | { any: SwappedRemoteConfigCondition[]; } | { not: SwappedRemoteConfigCondition; }

Defined in: src/config/remote-config.types.ts:125

A boolean applies unconditionally. A single platform-check name is evaluated as-is. An array is AND of its items ([] is true). Objects compose nested expressions: { all } AND, { any } OR, { not } negation.