* Check if the command is active. You activate commands with `run` * and disable them with `stop`. If the command was created without `stop` * method it can't be registered as active * @param {String} id Command id * @return {Boolean} * @example * const cId = 'some-command'; *
(id: string)
| 429 | * // -> false |
| 430 | */ |
| 431 | isActive(id: string) { |
| 432 | return this.getActive().hasOwnProperty(id); |
| 433 | } |
| 434 | |
| 435 | /** |
| 436 | * Get all active commands |
no test coverage detected