• Modifies or removes entry with the key, or does nothing if there isn't.

    Type Parameters

    • K

    • V

    Parameters

    • updater: ((key) => ((oldValue) => Option<V>))

      Function to map the value. Also the key will be passed to. When this returned None, the entry will be removed.

        • (key): ((oldValue) => Option<V>)
        • Parameters

          • key: K

          Returns ((oldValue) => Option<V>)

    Returns ((key) => ((m) => Map<K, V>))

    A new Map with the replaced entry, or as is if there isn't.

      • (key): ((m) => Map<K, V>)
      • Parameters

        • key: K

        Returns ((m) => Map<K, V>)

          • (m): Map<K, V>
          • Parameters

            • m: Map<K, V>

            Returns Map<K, V>

Generated using TypeDoc