[−][src]Function rslint_core::util::outer_function
pub fn outer_function(node: impl Borrow<SyntaxNode>) -> Option<SyntaxNode>
Get the first enclosing function of a node, this does not consider if the node itself is a function.