Learn R Programming

languageserver (version 0.3.0)

detect_closure: detect if the current position is inside a closure

Description

detect if the current position is inside a closure

Usage

detect_closure(document, position)

Arguments

document

a character, the contents of the document

position

a position object