Type alias MapFunction<K, V, W>

MapFunction<K, V, W>: ((v, k, x) => W)

Type Parameters

  • K

  • V

  • W

Type declaration

    • (v, k, x): W
    • Handle transformation of a value to another.

      Parameters

      • v: V

        value in entries

      • k: K

        key of value in entries

      • x: Entries<K, V>

        entries containing the value

      Returns W

      transformed value

Generated using TypeDoc