Amazon Vinyl
    Preparing search index...

    Function flipMap

    • Flips a map so that the keys become the values and the values become the keys.

      Type Parameters

      • K
      • V

      Parameters

      • map: Iterable<readonly [K, V]>

      Returns Map<V, K>

      Returns a new map.