invert
exchanges the keys and values of a hash.inverted.hash
is a constructor method that directly
makes an inverted hash.
Each element of the values(x)
becomes a key in a new
hash; the associatedis coerced to a key value is the The
value becomes the associated key.
For inverted.hash
, a hash is created thnn inverted.
It is defined as:
function(...) invert(hash(...))