Type alias MapFunction<T, U>

MapFunction<T, U>: ((v, k, x) => U)

Type Parameters

  • T

  • U

Type declaration

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

      Parameters

      • v: T

        value in set

      • k: T

        key of value in set (= value)

      • x: Set<T>

        set containing the value

      Returns U

      transformed value

Generated using TypeDoc