contains

operator fun contains(name: String): Boolean

Whether the command name is one of the set's, or one of its actions.


operator fun contains(type: Class<*>): Boolean

Whether type is the class of one of the set's commands.