index.js
function() {
    var value = process.env[this._getConfig().coverageEnvVar] || false;

    if (value.toLowerCase) {
      value = value.toLowerCase();
    }

    return ['true', true].indexOf(value) !== -1;
  }
function() {
    var value = process.env[this._getConfig().coverageEnvVar] || false;

    if (value.toLowerCase) {
      value = value.toLowerCase();
    }

    return ['true', true].indexOf(value) !== -1;
  }
function ( ) { var value = process . env [ this . _getConfig ( ) . coverageEnvVar ] || false ; if ( value . toLowerCase ) { value = value . toLowerCase ( ) ; } return [ 'true' , true ] . indexOf ( value ) !== - 1 ; }
Determine whether or not coverage is enabled
@returns {Boolean} whether or not coverage is enabled
Determine whether or not coverage is enabled