??=
Assign a fallback to a nullable mutable binding only when needed.
Example.kalm
kalm
pub fun main() -> Unit:
var title: Text? = null
title ??= "Untitled"
sayLine(title)Assign a fallback to a nullable mutable binding only when needed.
pub fun main() -> Unit:
var title: Text? = null
title ??= "Untitled"
sayLine(title)