LastExceed
01/11/2020, 1:15 PMif
is a top-level function with the following signature?
fun if(condition: Boolean, action: () -> Unit)
Dico
01/11/2020, 1:18 PMelse
and a type parameter for the inferred return type of the lambda so it can be used as an expressionstreetsofboston
01/11/2020, 2:50 PMinline
and the action
would be a suspend
lambda.Kroppeb
01/11/2020, 6:27 PMsuspend
Kroppeb
01/11/2020, 6:40 PMstreetsofboston
01/11/2020, 10:29 PM