sequency
sequency copied to clipboard
Add `isEmpty` and `isNotEmpty` utility methods
This PR adds two new (terminal) methods:
isEmptythat checks whether the sequence contains absolutely no elementisNotEmptythat checks whether the sequence contains at least one element
Both are implemented in the laziest way possible and are compatible with (potentially) infinite sequences as their source.