Entity

    Function zipToMap

    • Create a new Map from each member of keys to the corresponding member of values.

      Type Parameters

      • K
      • V

      Parameters

      • keys: readonly K[]

        keys

      • values: readonly V[]

        corresponding ordered values for keys

      Returns Map<K, V>

      zipToMap([1, 2], ['a', 'b']) => Map({1: 'a', 2: 'b'})
      
    MMNEPVFCICPMFPCPTTAAATR