import { createCustomCachedSelector } from '../../../../state/create_selector' ; import { getHeatmapTableSelector } from './get_heatmap_table' ; internal export const isEmptySelector = createCustomCachedSelector ( [ getHeatmapTableSelector ] , ( heatmap ) : boolean => { return heatmap . table . length === 0 ; } ) ;