import { LogLevel } from './LogLevel' ; const isLogLevel = function ( name ) : name is LogLevel { if ( typeof name !== 'string' ) { return false ; } return [ 'fatal' , 'error' , 'warn' , 'info' , 'debug' ] . includes ( name ) ; } ; export { isLogLevel } ;