lib/utils/ast.js
function hasParams(node) {
    return isObject(node) &&
           isArray(node.params) &&
           node.params.length > 0;
}
function hasParams(node) {
    return isObject(node) &&
           isArray(node.params) &&
           node.params.length > 0;
}
function hasParams ( node ) { return isObject ( node ) && isArray ( node . params ) && node . params . length > 0 ; }
Test if supplied `node` has parameters.
@param   {ASTNode} node - FunctionExpression node to test
@returns {Boolean} true if node has at least one parameter
Test if supplied node has parameters .