HashMap.opEquals

Test if two maps are equal.

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

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