MCPcopy
hub / github.com/expr-lang/expr / Type

Interface Type

types/types.go:12–16  ·  view source on GitHub ↗

Type is a type that can be used to represent a value.

Source from the content-addressed store, hash-verified

10
11// Type is a type that can be used to represent a value.
12type Type interface {
13 Nature() Nature
14 Equal(Type) bool
15 String() string
16}
17
18var (
19 Int = TypeOf(0)

Callers 15

NatureMethod · 0.65
NatureMethod · 0.65
TestType_EqualFunction · 0.65
EqualMethod · 0.65
EqualMethod · 0.65
TestTime_dateFunction · 0.65
TestEqualWrapperFunction · 0.65
compareFunction · 0.65
TestHTTPSuccessFunction · 0.65
TestHTTPRedirectFunction · 0.65
TestType_EqualFunction · 0.65
EqualMethod · 0.65

Implementers 4

anyTypetypes/types.go
nilTypetypes/types.go
rtypetypes/types.go
arraytypes/types.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…