Equal checks if two values are equal or not. (check both type and value) Play: https://go.dev/play/p/wmVxR-to4lz
(left, right any)
| 31 | // Equal checks if two values are equal or not. (check both type and value) |
| 32 | // Play: https://go.dev/play/p/wmVxR-to4lz |
| 33 | func Equal(left, right any) bool { |
| 34 | return compareValue(equal, left, right) |
| 35 | } |
| 36 | |
| 37 | // EqualValue checks if two values are equal or not. (check value only) |
| 38 | // Play: https://go.dev/play/p/fxnna_LLD9u |
searching dependent graphs…