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

Method IsMethodSet

types/typeset.go:40–40  ·  view source on GitHub ↗

IsMethodSet reports whether the interface t is fully described by its method set.

()

Source from the content-addressed store, hash-verified

38
39// IsMethodSet reports whether the interface t is fully described by its method set.
40func (s *_TypeSet) IsMethodSet() bool { return !s.comparable && s.terms.isAll() }
41
42// IsComparable reports whether each type in the set is comparable.
43func (s *_TypeSet) IsComparable(seen map[Type]bool) bool {

Callers 4

IsAllMethod · 0.95
isImportedConstraintMethod · 0.45
callExprMethod · 0.45
validVarTypeMethod · 0.45

Calls 1

isAllMethod · 0.80

Tested by

no test coverage detected