Join Slack
Powered by
rocketraman: I don’t think there’s a pretty soluti...
# getting-started
c
cedric
06/22/2016, 6:18 PM
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()
Open in Slack
Previous
Next