import { createCustomCachedSelector } from '../../../../state/create_selector' ; import { getAnnotationTooltipStateSelector } from './get_annotation_tooltip_state' ; internal export const isAnnotationTooltipVisibleSelector = createCustomCachedSelector ( [ getAnnotationTooltipStateSelector ] , ( annotationTooltipState ) : boolean => annotationTooltipState !== null && annotationTooltipState . isVisible ) ;