MCPcopy
hub / github.com/montanaflynn/stats / ExampleMin

Function ExampleMin

min_test.go:10–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8)
9
10func ExampleMin() {
11 d := stats.LoadRawData([]interface{}{1.1, "2", 3.0, 4, "5"})
12 a, _ := stats.Min(d)
13 fmt.Println(a)
14 // Output: 1.1
15}
16
17func TestMin(t *testing.T) {
18 for _, c := range []struct {

Callers

nothing calls this directly

Calls 2

LoadRawDataFunction · 0.92
MinFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…