takeOrElse
Source set: Common
inline fun Color.takeOrElse(block: () -> Color): Color
If this color isSpecified then this is returned, otherwise block is executed and its result is returned.
If this color isSpecified then this is returned, otherwise block is executed and its result is returned.
inline fun Color.takeOrElse(block: () -> Color): Color
If this color isSpecified then this is returned, otherwise block is executed and its result is returned.
Last updated: