import { ExperimentalName , ParserOptions } from "../types" ; export const isEnabled = ( options , flag ) : boolean => { if ( ! options || ! options . experimental ) { return false ; } return options . experimental [ flag ] || false ; } ;