function (p) {
        // if encoding just delete the property
        if (this.encode) {
            delete p[this.paramPrefix];
        // otherwise scrub the object of filter data
        } else {
            var regex, key;
            regex = new RegExp('^' + this.paramPrefix + '\[[0-9]+\]');
            for (key in p) {
                if (regex.test(key)) {
                    delete p[key];
                }
            }
        }
    }
function (p) {
        
        if (this.encode) {
            delete p[this.paramPrefix];
        
        } else {
            var regex, key;
            regex = new RegExp('^' + this.paramPrefix + '\[[0-9]+\]');
            for (key in p) {
                if (regex.test(key)) {
                    delete p[key];
                }
            }
        }
    }
function ( p ) { // if encoding just delete the property if ( this . encode ) { delete p [ this . paramPrefix ] ; // otherwise scrub the object of filter data } else { var regex , key ; regex = new RegExp ( '^' + this . paramPrefix + '\[[0-9]+\]' ) ; for ( key in p ) { if ( regex . test ( key ) ) { delete p [ key ] ; } } } }
Removes filter related query parameters from the provided object.
@param {Object} p Query parameters that may contain filter related fields.
Removes filter related query parameters from the provided object .