Join Slack
Powered by
You may also find this pattern useful `obj.propert...
# getting-started
d
dalexander
11/09/2017, 3:23 PM
You may also find this pattern useful
obj.property?.let { propertyArray[propertyArray.size - 1] = it }
it’s a little bit more complex in how it works basically the lambda will only be called if the property is not null.
👍 2
Open in Slack
Previous
Next