File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -18,16 +18,28 @@ List or a list-like type.
18
18
19
19
= head2 method ACCEPTS
20
20
21
+ Defined as:
22
+
21
23
multi method ACCEPTS(Any:D: Mu $other)
22
24
25
+ Usage:
26
+
27
+ EXPR.ACCEPTS(EXPR);
28
+
23
29
Returns C < True > if C < $other === self > (i.e. it checks object identity).
24
30
25
31
Many built-in types override this for more specific comparisons
26
32
27
33
= head2 method any
28
34
35
+ Defined as:
36
+
29
37
method any() returns Junction:D
30
38
39
+ Usage:
40
+
41
+ LIST.any
42
+
31
43
Interprets the invocant as a list and creates an
32
44
C < any > -L < Junction|/type/Junction > from it.
33
45
@@ -36,8 +48,14 @@ C<any>-L<Junction|/type/Junction> from it.
36
48
37
49
= head2 method all
38
50
51
+ Defined as:
52
+
39
53
method all() returns Junction:D
40
54
55
+ Usage:
56
+
57
+ LIST.any
58
+
41
59
Interprets the invocant as a list and creates an
42
60
C < all > -L < Junction|/type/Junction > from it.
43
61
@@ -46,8 +64,14 @@ C<all>-L<Junction|/type/Junction> from it.
46
64
47
65
= head2 method one
48
66
67
+ Defined as:
68
+
49
69
method one() returns Junction:D
50
70
71
+ Usage:
72
+
73
+ LIST.one
74
+
51
75
Interprets the invocant as a list and creates an
52
76
C < one > -L < Junction|/type/Junction > from it.
53
77
@@ -56,8 +80,14 @@ C<one>-L<Junction|/type/Junction> from it.
56
80
57
81
= head2 method none
58
82
83
+ Defined as:
84
+
59
85
method none() returns Junction:D
60
86
87
+ Usage:
88
+
89
+ LIST.none
90
+
61
91
Interprets the invocant as a list and creates an
62
92
C < none > -L < Junction|/type/Junction > from it.
63
93
You can’t perform that action at this time.
0 commit comments