canHandle

abstract fun canHandle(cmd: Any): Boolean

Guard method that can check if the specific command is supported by this Decider instance

Return

true if this Decider instance supports the given cmd instance

Parameters

cmd

The command instance that want to check whether this Decider instance supports