Min list value based on function
Returns the minimum value of a list, after mapping each element to a value using the provided function.
- Use
map()
withfn
to map each element to a value using the provided function. - Use
min()
to return the minimum value.