rocketraman: I don’t think there’s a pretty soluti...
# getting-started
c
rocketraman: I don’t think there’s a pretty solution. You could do something like this:
Copy code
listOf(1, if (conditionA) 2 else null).filterNotNull()