Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.rules/Rule/Companion/all

all

@JvmStatic
@SafeVarargs
fun <T> all(vararg rules: Rule<T>): Rule<T>
@JvmStatic
fun <T> all(rules: List<Rule<T>>): Rule<T>

Returns a new Rule that is the logical equivalent of the following operation:

rules[0] && rules[1] && ...
Content copied to clipboard

Return

A new Rule representing the logical "and" of the given rules.

Parameters

rules

The other Rules to evaluate.

Generated by Dokka
(c) Tealium 2026