Type alias MapFunction<K, V, W>

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

Type Parameters

  • K

  • V

  • W

Type declaration

    • (v: V, k: K, x: Lists<K, V>): W
    • Handle transformation of a value to another.

      Returns

      transformed value

      Parameters

      • v: V

        value in lists

      • k: K

        key of value in lists

      • x: Lists<K, V>

        lists containing the value

      Returns W

Generated using TypeDoc