Skip to main content

is_variable_captured

Function is_variable_captured 

Source
pub fn is_variable_captured(
    tree: &Tree,
    var_name: &str,
    use_range: Range,
    declaration_range: Range,
) -> bool
Expand description

Check if a variable is captured in a closure or goroutine