MCPcopy Index your code
hub / github.com/expr-lang/expr / Len

Method Len

internal/spew/common.go:279–281  ·  view source on GitHub ↗

Len returns the number of values in the slice. It is part of the sort.Interface implementation.

()

Source from the content-addressed store, hash-verified

277// Len returns the number of values in the slice. It is part of the
278// sort.Interface implementation.
279func (s *valuesSorter) Len() int {
280 return len(s.values)
281}
282
283// Swap swaps the values at the passed indices. It is part of the
284// sort.Interface implementation.

Callers 4

valueSortLessFunction · 0.45
formatMethod · 0.45
dumpSliceMethod · 0.45
dumpMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected