is there a reason why i cant pass a named function...
# getting-started
c
is there a reason why i cant pass a named function?, for example
private val fileRadioButton = JRadioButton("Execute File").also(update)
is not valid while
private val fileRadioButton = JRadioButton("Execute File").also { update(it) }
is