- :block
- or :nothing
minimum
get minimum item from collection based on given predicate
Parameters
minimum collection :integer :string :literal :dictionary :object :inline :block :range params :null :literal :block condition :block :bytecode
Attributes
with | :literal | use given index |
value | also include predicate values |
Returns
Examples
copyminimum [4 17 20] 'x -> size factors.prime x ; => 17 ; 17 has the minimum number of ; prime factors: 17 (1)
copyminimum.value [4 17 20] 'x -> size factors.prime x ; => [17 1]