isText(obj)
Checks whether a var is an InDesign text object, returns true
if this is the case.
NB: a InDesign text frame will return false
as it is just a container holding text. So you could say that isText()
refers to all the things inside a text frame.
Type: function
Parameter(s):
- obj {Character | InsertionPoint | Line | Paragraph | TextColumn | TextStyleRange | Word}:
The object to check
Returns:
-
{Boolean}:
returns true if this is the case