takeOrElseIf this color [isSpecified] then this is returned, otherwise [block] is executed and its resultCompose API Reference Compose UI Graphics takeOrElse Function 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.
Compose API Reference Compose UI Graphics takeOrElse Function 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.