Hullaballoonatic
10/31/2019, 8:05 PMthis
argument for when statements:
fun Any?.isFalsy = when {
null -> true,
etc
}
karelpeeters
10/31/2019, 9:10 PMwhen
without an argument either, that already exists.Derek Peirce
11/01/2019, 7:58 AMwhen (this)
reads so much cleaner anywaylouiscad
11/04/2019, 9:23 AMisFalsy
) is not ideal, and would not compile anyway because fun
has parentheses. That doesn't make your "proposal" shine.Ky Leggiero
11/06/2019, 5:53 PMetc
louiscad
11/07/2019, 9:03 AMKy Leggiero
11/08/2019, 5:29 PMwould not compile anyway becausehas parentheses. That doesn't make your "proposal" shine.fun
louiscad
11/08/2019, 6:06 PMKy Leggiero
11/08/2019, 6:10 PMlouiscad
11/09/2019, 12:59 PM