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

Method Empty

types/interface.go:94–94  ·  view source on GitHub ↗

Empty reports whether t is the empty interface.

()

Source from the content-addressed store, hash-verified

92
93// Empty reports whether t is the empty interface.
94func (t *Interface) Empty() bool { return t.typeSet().IsAll() }
95
96// IsComparable reports whether each type in interface t's type set is comparable.
97func (t *Interface) IsComparable() bool { return t.typeSet().IsComparable(nil) }

Callers 3

ImplementsFunction · 0.45
implementsMethod · 0.45
implicitTypeAndValueMethod · 0.45

Calls 2

typeSetMethod · 0.95
IsAllMethod · 0.80

Tested by

no test coverage detected