Arbortext Command Language > Functions by Alphabetical Listing > inside_tag
  
inside_tag
inside_tag (tagname[, doc])
This function returns 1 (True) if the cursor is within the tag pair whose start-tag is named tagname, regardless of level. If the cursor is not within this tag pair, 0 is returned.
* 
If you have applied an alias map to the document, tagname can be an alias, as well as a real name.
The doc argument specifies the identifier of the document tree to query. If omitted or 0, the current document is used.
* 
If the document type definition for your document instance includes the NAMECASE GENERAL NO setting, then the tagname parameter will be case-sensitive.