getOrPut

fun getOrPut(receiver: IrExpression, key: IrExpression, valueType: IrType = receiver.type.raiseToOrNull { it.isClassifierOf(Kotlin.Collections.MutableMap) } ?.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

Sources

jvm source
Link copied to clipboard