import { AGG_TYPE } from '../../../common/constants' ; export function isMetricCountable ( aggType ) { return [ AGG_TYPE . COUNT , AGG_TYPE . SUM , AGG_TYPE . UNIQUE_COUNT ] . includes ( aggType ) ; }