import { Build } from '../types' ; export const isReady = ( { readyState } ) => readyState === 'READY' ; export const isFailed = ( { readyState } ) => readyState . endsWith ( '_ERROR' ) || readyState === 'ERROR' ;