param varName export function getEnvAsBoolean ( varName ) { const val = process . env [ varName ] ; if ( val == null ) return false ; switch ( val . toLowerCase ( ) ) { case "0" : case "false" : case "off" : case "no" : return false ; default : return true ; } }