import { parseOpenSearchInterval } from './parse_opensearch_interval' ; param interval returns export function isValidOpenSearchInterval ( interval ) { try { parseOpenSearchInterval ( interval ) ; return true ; } catch { return false ; } }