Type Alias Function<TArg, TResult>

Function: (arg: TArg) => TResult

A simple function, taking an agrument and returning a result.

Type Parameters

  • TArg

    The type of the argument passed into the function.

  • TResult

    The type of the result provided by the functions.

Type declaration