In Any§

See primary documentation in context for method any

method any(--> Junction:D)

Interprets the invocant as a list and creates an any-Junction from it.

say so 2 == <1 2 3>.any;        # OUTPUT: «True␤»
say so 5 == <1 2 3>.any;        # OUTPUT: «False␤»