core/resolvers/math.resolver.ts
core/resolvers/math.resolver.ts is a file in GovLab Patterns. 5 lines of code and 1 definition.
import { ANALYSIS_MATH_TYPE } from "#configuration/constants/math.constants";
import type { AnalysisTag } from "#types/axis.types";
export const mathTypeOf = function mathTypeOf(analysis: AnalysisTag): string {
return ANALYSIS_MATH_TYPE[analysis];
};