Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/expr-lang/expr
/ Len
Method
Len
vm/runtime/sort.go:9–11 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
7
}
8
9
func
(s *SortBy) Len() int {
10
return
len(s.Array)
11
}
12
13
func
(s *SortBy) Swap(i, j int) {
14
s.Array[i], s.Array[j] = s.Array[j], s.Array[i]
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected