Arbortext Command Language > Functions by Alphabetical Listing > tbl_insertion_valid
  
tbl_insertion_valid
[0|1} = tbl_insertion_valid([doc])
This function returns 1 if a table can be inserted at the cursor point in document doc (or in the active document if doc is omitted).
If context checking is turned off, this function returns 1 regardless of where the cursor is located in the document. If set autotaginserts is set to on, this function returns 1 if the cursor is at a point in the document where a tag can be automatically inserted that would then make the insertion of a table valid.