@@ -30,45 +30,53 @@ Returns C<True> if C<$other === self> (i.e. it checks object identity).
3030
3131Many built-in types override this for more specific comparisons.
3232
33- =head2 method any
33+ =head2 routine any
3434
35- method any(--> Junction:D)
35+ method any( --> Junction:D)
36+ multi any(+values --> Junction:D)
37+ multi any(@values --> Junction:D)
3638
37- Interprets the invocant as a list and creates an
39+ Interprets the invocant or arguments as a list and creates an
3840L<any|/routine/any>-L<C<Junction>|/type/Junction> from it.
3941
4042 say so 2 == <1 2 3>.any; # OUTPUT: «True»
41- say so 5 == <1 2 3>.any; # OUTPUT: «False»
43+ say so 5 == any( <1 2 3>); # OUTPUT: «False»
4244
43- =head2 method all
45+ =head2 routine all
4446
45- method all(--> Junction:D)
47+ method all( --> Junction:D)
48+ multi all(+values --> Junction:D)
49+ multi all(@values --> Junction:D)
4650
47- Interprets the invocant as a list and creates an
51+ Interprets the invocant or arguments as a list and creates an
4852L<all|/routine/all>-L<C<Junction>|/type/Junction> from it.
4953
50- say so 1 < <2 3 4>.all; # OUTPUT: «True»
5154 say so 3 < <2 3 4>.all; # OUTPUT: «False»
55+ say so 1 < all(<2 3 4>); # OUTPUT: «True»
5256
53- =head2 method one
57+ =head2 routine one
5458
55- method one(--> Junction:D)
59+ method one( --> Junction:D)
60+ multi one(+values --> Junction:D)
61+ multi one(@values --> Junction:D)
5662
57- Interprets the invocant as a list and creates a
63+ Interprets the invocant or arguments as a list and creates a
5864L<one|/routine/one>-L<C<Junction>|/type/Junction> from it.
5965
6066 say so 1 == (1, 2, 3).one; # OUTPUT: «True»
61- say so 1 == (1, 2, 1).one; # OUTPUT: «False»
67+ say so 1 == one (1, 2, 1); # OUTPUT: «False»
6268
63- =head2 method none
69+ =head2 routine none
6470
65- method none(--> Junction:D)
71+ method none( --> Junction:D)
72+ multi none(+values --> Junction:D)
73+ multi none(@values --> Junction:D)
6674
67- Interprets the invocant as a list and creates a
75+ Interprets the invocant or arguments as a list and creates a
6876L<none|/routine/none>-L<C<Junction>|/type/Junction> from it.
6977
7078 say so 1 == (1, 2, 3).none; # OUTPUT: «False»
71- say so 4 == (1, 2, 3).none; # OUTPUT: «True»
79+ say so 4 == none (1, 2, 3); # OUTPUT: «True»
7280
7381=head2 method list
7482
0 commit comments