element

fun KbTransformScope.element(value: KpaElement?): KbTransformable?(source)

Null-safely wraps value as a KbTransformable, returning null when value is null.

Return

a KbTransformable.Element wrapping value, or null.

Parameters

value

the element to wrap; may be null.