import { createCustomCachedSelector } from '../../../../state/create_selector' ; import { computeSeriesDomainsSelector } from './compute_series_domains' ; internal export const hasSingleSeriesSelector = createCustomCachedSelector ( [ computeSeriesDomainsSelector ] , ( seriesDomainsAndData ) : boolean => Boolean ( seriesDomainsAndData ) && seriesDomainsAndData . formattedDataSeries . length > 1 ) ;