@mpen/imut-utils
    Preparing search index...

    Function mapPush

    • Pushes one or more values into a Map of arrays at the specified key. If the key does not exist, a new array will be created. Mutates the map.

      Type Parameters

      • K
      • V

      Parameters

      • map: Map<K, V[]>

        Map to update

      • key: K

        Key to update

      • ...value: V[]

        Value(s) to append

      Returns void