NumericalFunction typedef

NumericalFunction = double Function(num)

Typedef of a function with a single positional parameter of type T extends num and return type T.

Implementation

typedef NumericalFunction = double Function(num);