This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Use anyMatch to check if at least one element in the stream satisfies the given predicate, returning true or false.
You've completed the free preview. Subscribe to unlock every lesson in every course.