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.
Compose Multiplatform
Ship iOS, desktop, and web apps with Compose
RevenueCat
Add subscriptions to your apps in minutes
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: