how to pass parameters to an anonymous function that is also the parameter of another function in d3.js?

svg.selectAll('.node')
        .filter(node => node.id.toLowerCase().includes(para_group))
        .style('opacity', 1)
        .attr("r", 10);

this is from a d3.js-used file, as seen above, “node” is the parameter of an anonymous function which is the parameter of filter() function, does the selectAll() function automatically passes the result as a parameter to filter() function?