get Or Else
fun getOrElse(receiver: IrExpression, key: IrExpression, valueType: IrType = receiver.type.raiseToOrNull { it.isClassifierOf(Kotlin.Collections.Map) }
?.safeAs<IrSimpleType>()?.arguments?.get(1)?.typeOrNull
?: error("Can't auto-detect value type, must specify"), startOffset: Int = UNDEFINED_OFFSET, endOffset: Int = UNDEFINED_OFFSET, otherwise: IrBlockBodyBuilder.() -> Unit): IrCall
Content copied to clipboard
Sources
jvm source
Link copied to clipboard