File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -395,23 +395,33 @@ Coerce the invocant first to a C<List> and then to a L<Supply|/type/Supply>.
395
395
396
396
Defined As:
397
397
398
- method min(--> TODO)
398
+ multi method min(--> Any:D)
399
+ multi method min(&by --> Any:D)
399
400
400
- TODO
401
+ Coerces to Iterable and returns the numerically smallest element. If a
402
+ C < Callable > is provided it is called with each element and its smallest return
403
+ values is returned.
401
404
402
405
= head2 method max
403
406
404
407
Defined As:
405
408
406
- method max(--> TODO)
409
+ multi method max(--> Any:D)
410
+ multi method min(&by --> Any:D)
407
411
408
- TODO
412
+ Coerces to Iterable and returns the numerically biggest element. If a
413
+ C < Callable > is provided it is called with each element and its biggest return
414
+ values is returned.
409
415
410
416
= head2 method minmax
411
417
412
418
Defined As:
413
419
414
- method minmax(--> TODO)
420
+ multi method minmax(--> List:D)
421
+ multi method minmax(&by --> List:D)
422
+
423
+ Returns a list containing the smallest and the biggest element. If a
424
+ C < Callable > is provided each element is filtered and then numerically compared.
415
425
416
426
TODO
417
427
You can’t perform that action at this time.
0 commit comments