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

Method Hash

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

Hash returns a unique hash value for a.

()

Source from the content-addressed store, hash-verified

396
397// Hash returns a unique hash value for a.
398func (a *Array) Hash() string {
399 return Hash(a, true, false, true)
400}
401
402// IsCompatible returns true if val is compatible with p.
403func (a *Array) IsCompatible(val any) bool {

Callers

nothing calls this directly

Calls 1

HashFunction · 0.85

Tested by

no test coverage detected