MCPcopy Create free account
hub / github.com/despiteallobjections/amigo / Len

Method Len

types/methodset.go:37–37  ·  view source on GitHub ↗

Len returns the number of methods in s.

()

Source from the content-addressed store, hash-verified

35
36// Len returns the number of methods in s.
37func (s *MethodSet) Len() int { return len(s.list) }
38
39// At returns the i'th method in s for 0 <= i < s.Len().
40func (s *MethodSet) At(i int) *Selection { return s.list[i] }

Callers 3

StringMethod · 0.95
LookupMethod · 0.95
TestNewMethodSetFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestNewMethodSetFunction · 0.76