dist/utils.js
function (val) {
        val = ensureDefault(val, constants_1.DEFAULT_TYPE_VALUES.boolean);
        return Boolean(/^false$/i.test(val) ? false : val);
    }
function (val) {
        val = ensureDefault(val, constants_1.DEFAULT_TYPE_VALUES.boolean);
        return Boolean(/^false$/i.test(val) ? false : val);
    }
function ( val ) { val = ensureDefault ( val , constants_1 . DEFAULT_TYPE_VALUES . boolean ) ; return Boolean ( / ^false$ / i . test ( val ) ? false : val ) ; }
Converts type to a boolean.

@param val the value to convert.
Converts type to a boolean .