Hash returns a unique hash value for m.
()
| 634 | |
| 635 | // Hash returns a unique hash value for m. |
| 636 | func (u *Union) Hash() string { |
| 637 | return Hash(u, true, false, true) |
| 638 | } |
| 639 | |
| 640 | // IsCompatible returns true if u describes the (Go) type of val. |
| 641 | func (u *Union) IsCompatible(val any) bool { |