function isLastInNonIgnoredParameters(variable){var def=variable.defs[0];// This is the last.
if(def.index===def.node.params.length-1){return true;}// if all parameters preceded by this variable are ignored and unused, this is the last.
if(config.argsIgnorePattern){var params=context.getDeclaredVariables(def.node);var posteriorParams=params.slice(params.indexOf(variable)+1);if(posteriorParams.every(function(v){return v.references.length===0&&config.argsIgnorePattern.test(v.name);})){return true;}}return false;}
Checks whether the given variable is the last parameter in the non-ignored parameters.

@param {escope.Variable} variable - The variable to check.
@returns {boolean} `true` if the variable is the last.