Back to Lo

Core Min

docs/data/core-min.md

1.53.0134 B
Original Source

Returns the minimum value of a collection. Returns the zero value when the collection is empty.

go
lo.Min([]int{1, 2, 3})
// 1