get item in collection with minimum value returned from given action
Parameters
minimum collection :integer :string :literal :dictionary :object :inline :block :range
params :null :literal :block
action :block :bytecode
Attributes
| with |
:literal |
use given index |
| value |
|
also include predicate values |
| parallel |
:integer |
extract keys concurrently; integer caps the number of in-flight fibers |
Returns
Examples
copy
minimum [4 17 20] 'x -> size factors.prime x
; => 17
; 17 has the minimum number of
; prime factors: 17 (1)
copy
minimum.value [4 17 20] 'x -> size factors.prime x
; => [17 1]
Related