Type alias MapFunction<T, R>

MapFunction<T, R>: ((value: T) => R)

Type Parameters

  • T

    the type of the source value.

  • R

    the type of the returned value.

Type declaration

    • (value: T): R
    • Returns

      the result of calling the map function on the source value.

      Parameters

      • value: T

        the source value.

      Returns R

Generated using TypeDoc