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

asMatchable

fun <R> asMatchable(converter: (T) -> Matchable<R>): Matchable<R>

Takes a Rule implementation and converts it another Rule, wrapping the type of T in a Matchable so it can be evaluated.

Parameters

converter

The class that converts a value of T to a Matchable

Generated by Dokka
(c) Tealium 2026