import { MANUAL_COMPUTE_NAVIGATION_INDICATOR_ID , ManualComputeNavigationIndicator , NavigationIndicator , NavigationIndicatorCriteria , NavigationIndicatorCriteriaOnBucket , NavigationIndicatorCriteriaOnExpression } from './navigation-types' ; export const isNavigationIndicatorCriteriaOnBucket = ( criteria ) : criteria is NavigationIndicatorCriteriaOnBucket => { return ( criteria as any ) . bucketId != null ; } ; export const isNavigationIndicatorCriteriaOnExpression = ( criteria ) : criteria is NavigationIndicatorCriteriaOnExpression => { return ( criteria as any ) . operator != null ; } ; export const isManualComputeNavigationIndicator = ( navigationIndicator ) : navigationIndicator is ManualComputeNavigationIndicator => { return navigationIndicator . indicatorId == MANUAL_COMPUTE_NAVIGATION_INDICATOR_ID ; } ;