| check_scope {languageserver} | R Documentation |
In an RMarkdown document, tokens can be either inside an R code block or
in the text. This function will return FALSE if the token is in the text
and TRUE if it is in a code block. For R scripts, it always returns TRUE.
check_scope(uri, document, position)
uri |
a character, the path to a file as defined by RFC 3986 |
document |
a character, the contents of the document |
position |
a position object |
a logical