Glossary: Coding Interviews in Go
maps.Equal
Also written: slices.Equal
A function that compares two maps (or, for `slices.Equal`, two slices) for equal contents. It is needed because `==` doesn't work on maps or slices.
Glossary: Coding Interviews in Go
Also written: slices.Equal
A function that compares two maps (or, for `slices.Equal`, two slices) for equal contents. It is needed because `==` doesn't work on maps or slices.