(cmd: CommandBase)
| 212 | |
| 213 | /** Resolves whether the command is enabled, defaulting to true. */ |
| 214 | export function isCommandEnabled(cmd: CommandBase): boolean { |
| 215 | return cmd.isEnabled?.() ?? true |
| 216 | } |
| 217 |
no outgoing calls
no test coverage detected