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