HashMap.opEquals

Test if two maps are equal.

  1. bool opEquals(ref const(HashMap!(K, V)) otherMap)
    struct HashMap(K, V)
    bool
    opEquals
    const
    (
    ref const(HashMap!(K, V)) otherMap
    )
    if (
    isAssignmentCopyable!(Unqual!K) &&
    isAssignmentCopyable!(Unqual!V)
    )
  2. bool opEquals(const(HashMap!(K, V)) otherMap)

Parameters

otherMap
Type: const(HashMap!(K, V))

Another map.

Return Value

Type: bool

true only if the maps are equal in length, keys, and values.

Meta