Class JSDoc::JSDocArrayTypeExpr

An array type expression such as [string].

Direct supertypes

Indirect supertypes

Predicates

getAnElementType

Gets an element type of this array type.

getElementType

Gets the type of the ith element of this array type.

Inherited predicates

getChild

Gets the ith child type expression of this type expression.

from JSDocTypeExpr
getIndex

Gets the index of this type expression within its parent.

from JSDocTypeExpr
getParent

Gets the syntactic element in which this type expression is nested, which may either be another type expression or a JSDoc tag.

from JSDocTypeExpr
toString

Gets a textual representation of this element.

from JSDocTypeExpr