SingleArgumentFunction<A, T> typedef

SingleArgumentFunction<A, T> = T Function(A arg)

A function requiring a single argument of type A and returning an object of type T.

Implementation

typedef SingleArgumentFunction<A, T> = T Function(A arg);