Transformer<A, B> typedef

Transformer<A, B> = B Function(A)

Function that transforms object of type A into object of type B.

Implementation

typedef Transformer<A, B> = B Function(A);