![]() |
VOOZH | about |
Method Definition: def dropWhile(p: (A) => Boolean): Set[A] Return Type: It returns a set containing all the elements after dropping the longest prefix of elements from the set that satisfies the stated condition.Example #1:
Set(5, 1, 2, 3, 4) Set(2, 3, 4)
Set(5, 1, 2, 3, 4) Set()