Nullable Receiver

Run Settings
LanguageKotlin
Language Version
Run Command
fun main(args : Array<String>){ val value: Int? = null println(value.slice) } //dengan if else val Int?.slice : Int // get() = if (this == null) 0 else this.div(2) //dengan elvis operator get() = this?.div(2) ?: 0
Editor Settings
Theme
Key bindings
Full width
Lines