SingleFunction<T, R> typedef
SingleFunction<T, R> =
R Function(T arg)
Represents a function that accepts one argument and produces a result.
Implementation
typedef SingleFunction<T,R> = R Function(T arg);