supportCommand

fun supportCommand(commandType: Class<*>): Boolean

Determines whether this after-command function should execute for the given command type.

The function supports a command if it's not in the exclude set and either the include set is empty (meaning all commands) or the command is in the include set.

Return

true if this function should execute for the command type.

Parameters

commandType

The command class to check.