isHeading

open fun isHeading(): Boolean(source)

Returns whether node represents a heading.

Note: Returns true if either setHeading marks this node as a heading or if the node has a CollectionItemInfoCompat that marks it as such, to accommodate apps that use the now-deprecated API.

Return

true if the node is a heading, false otherwise.