dist/utilify.esm.js
function contains(value, elem) {
        if (validateHelpers.isArray(elem)) {
            for (var i = 0, len = elem.length; i < len; i += 1) {
                if (elem[i] === value) {
                    return true;
                }
            }
        }

        if (validateHelpers.isString(elem)) {
            return elem.indexOf(value) >= 0;
        }

        return false;
    }
function contains(value, elem) {
        if (validateHelpers.isArray(elem)) {
            for (var i = 0, len = elem.length; i < len; i += 1) {
                if (elem[i] === value) {
                    return true;
                }
            }
        }

        if (validateHelpers.isString(elem)) {
            return elem.indexOf(value) >= 0;
        }

        return false;
    }
function contains ( value , elem ) { if ( validateHelpers . isArray ( elem ) ) { for ( var i = 0 , len = elem . length ; i < len ; i += 1 ) { if ( elem [ i ] === value ) { return true ; } } } if ( validateHelpers . isString ( elem ) ) { return elem . indexOf ( value ) >= 0 ; } return false ; }
Check if value contains in an element

@category Global
@param {String} value - Value to check
@param {String|Array} elem - String or array
@return {Boolean} - Return true if element contains a value
Check if value contains in an element