I'm looking for an alternative of the deprecated method containsOnlyElementsOf
.
It has to check whether the given iterable (a list of Integers in my case) contains only Integers in-between given bounds.
I've tried looking at the docs but didn't find any...