Func1<T, R> typedef

Func1<T, R> = R Function(T)

Represents a function with one argument: (T) -> R.

Implementation

typedef Func1<T, R> = R Function(T);