Skip to content

Commit 26fb9ca

Browse files
committed
Document Setty.maxpairs/.minpairs
Tests Raku/roast@11626cb3e2
1 parent d199f5e commit 26fb9ca

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

doc/Type/Setty.pod6

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,26 @@ The number of elements of the set.
119119
The total of all the values of the C<QuantHash> object. For a C<Setty>
120120
object, this is just the number of elements.
121121
122+
=head2 method minpairs
123+
124+
Defined As:
125+
126+
multi method minpairs(Setty:D: --> Seq:D)
127+
128+
Returns the value of L«C<self.pairs>|/routine/pairs»
129+
(as all Pairs have minimum values). See also
130+
L«C<Any.minpairs>|/routine/minpairs»
131+
132+
=head2 method maxpairs
133+
134+
Defined As:
135+
136+
multi method maxpairs(Setty:D: --> Seq:D)
137+
138+
Returns the value of L«C<self.pairs>|/routine/pairs»
139+
(as all Pairs have maximum values). See also
140+
L«C<Any.maxpairs>|/routine/maxpairs»
141+
122142
=head2 method default
123143
124144
Defined as:

0 commit comments

Comments
 (0)