getNameCount

abstract fun getNameCount(): Int(source)

Returns the number of path components of this command path For a slash command such as /show me something, this would be 3For a slash command such as /tag info, this would be 2For a slash command such as /say, this would be 1

Return

The number of path components of this command path