Class JSDoc::JSDocOptionalParameterTypeExpr

An optional parameter type such as number=.

Direct supertypes

Indirect supertypes

Predicates

getUnderlyingType

Gets the underlying type of this optional 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