Skip to main content

refers_to

Function refers_to 

Source
pub(crate) fn refers_to(text: &str, name: &str) -> bool
Expand description

Whether the R code text refers to the variable name: the name as an identifier outside strings, comments and backtick names, not after ::, :::, $ or @, and not as an argument name before a lone =.