The type of the map's keys.
The type returned by projection.
projection
The value to validate.
The function mapping each key to the value that is used for the uniqueness check.
The type of the map's keys.