MCPcopy Create free account
hub / github.com/goadesign/goa / IsCompatible

Method IsCompatible

expr/types.go:23–23  ·  view source on GitHub ↗

IsCompatible checks whether val has a Go type that is compatible with the data type.

(any)

Source from the content-addressed store, hash-verified

21 // IsCompatible checks whether val has a Go type that is compatible with the data
22 // type.
23 IsCompatible(any) bool
24 // Example generates a pseudo-random value using the given random generator.
25 Example(*ExampleGenerator) any
26 // Hash returns a unique hash value for the instance of the type.

Callers 8

IsCompatibleMethod · 0.65
validateExamplesMethod · 0.65
IsCompatibleMethod · 0.65
IsCompatibleMethod · 0.65
IsCompatibleMethod · 0.65
DefaultFunction · 0.65
EnumFunction · 0.65

Implementers 4

UserTypeExprexpr/user_type.go
Arrayexpr/types.go
Mapexpr/types.go
Unionexpr/types.go

Calls

no outgoing calls

Tested by 1