takeOrElse
If this [TextUnit] [isSpecified] then this is returned, otherwise [block] is executed and its
takeOrElse
Function
Common
inline fun TextUnit.takeOrElse(block: () -> TextUnit): TextUnit
If this TextUnit isSpecified then this is returned, otherwise block is executed and its
result is returned.
Common
inline fun Dp.takeOrElse(block: () -> Dp): Dp
If this Dp isSpecified then this is returned, otherwise block is executed and its result is
returned.
Common
inline fun DpOffset.takeOrElse(block: () -> DpOffset): DpOffset
If this DpOffset isSpecified then this is returned, otherwise block is executed and
its result is returned.
Common
inline fun DpSize.takeOrElse(block: () -> DpSize): DpSize
If this DpSize isSpecified then this is returned, otherwise block is executed and its
result is returned.
