CategoryResolver typedef

CategoryResolver = QuantityCategory Function(int count, QuantityType type)

Language specific function, which is provided with a number and should return one of possible categories. count is never null.

Implementation

typedef CategoryResolver = QuantityCategory Function(int count, QuantityType type);