takeOrElse

inline fun Vibrant.takeOrElse(block: () -> Vibrant): Vibrant

Return the specified vibrant style if it is specified, otherwise return the default vibrant style.

Return

The specified vibrant style if it is specified, otherwise return the default vibrant style.

Parameters

block

The default vibrant style.