KbTransform
A pluggable transformation applied to a KpaElement inside an expression chain (e.g. {{ foo | upcase }}).
Transforms are registered with a KbEnvironment under a name and looked up at render time. Implementations receive a KbTransformScope as the receiver, giving access to coercion helpers (asString) and the active KpaElementFactory (factory) for constructing primitive results.
Functions
Link copied to clipboard
abstract fun KbTransformScope.transform(input: KbTransformable?, arguments: List<KbTransformable?>): KbTransformable?