ifNotEmpty
Invokes the given block if the receiver is not empty.
Return
The collection itself.
Parameters
T
The value type of the collection.
block
The block to invoke.
Invokes the given block if the receiver is not empty.
The collection itself.
The value type of the collection.
The block to invoke.