or
Registers other as a fallback to use if thisGLazy has no value on request.
Receiver
GLazy providing base value
Return
chained GLazy that falls back to other on missing base values
Parameters
other
GLazy to use when there is no base value
fun <T : Any, O : Any> GLazy<T>.or(other: GLazy<O>, converter: (O) -> T?): GLazy<T>
Content copied to clipboard
Registers other as a fallback to use if thisGLazy has no value on request.
Receiver
GLazy providing base value
Return
chained GLazy that falls back to other on missing base values
Parameters
Registers default value as a fallback to use if thisGLazy has no value on request.
Receiver
GLazy providing base value
Return
chained GLazy that falls back to default value on missing base values
Parameters
default
value to use when there is no base value