In theory yes, but it's much more natural to write...
# stdlib
d
In theory yes, but it's much more natural to write
if (collection.isNotEmpty())
imho.