Skip to content

SliceEqualT and MapEqualT #86

@Inuart

Description

@Inuart

Is your feature request related to a problem? Please describe.
I'm always frustrated when I try to check if 2 slices (or maps) are equal in a type-safe way.

Describe the solution you'd like
Equal handles slices and maps but EqualT can't be used in those cases as it doesn't compile. An extra SliceEqual, MapEqualT or similar name is needed.

Describe alternatives you've considered
SliceSubsetT, MapContainsT or ElementsMatchT are not the same. I'm looking for the equivalent of slices.Equal() and maps.Equal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions