caret_at
caret_at ([doc])
This function specifies the type of object preceding the cursor by returning one of the following strings: text, tag, equation, or, in the case of an empty file, null. The doc argument specifies the identifier of the document tree to query. If omitted or 0, the current document is used.
Related Topics