function _boolToNum(value, numTrue, numFalse, defaultVal) {
        if (typeof value === 'boolean') {
            return value ? numTrue : numFalse;
        }
        return typeof value === 'number' ? value : defaultVal;
    }
function _boolToNum(value, numTrue, numFalse, defaultVal) {
        if (typeof value === 'boolean') {
            return value ? numTrue : numFalse;
        }
        return typeof value === 'number' ? value : defaultVal;
    }
function _boolToNum ( value , numTrue , numFalse , defaultVal ) { if ( typeof value === 'boolean' ) { return value ? numTrue : numFalse ; } return typeof value === 'number' ? value : defaultVal ; }
Normalizes and tries to get a numeric value. This is used for options that support both Boolean and Number values.
Normalizes and tries to get a numeric value . This is used for options that support both Boolean and Number values .