Code
Hub
Trending
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/freecodexyz/free-code
/ isCommandEnabled
Function
isCommandEnabled
src/types/command.ts:214–216 ·
view source on GitHub ↗
(cmd: CommandBase)
Source
from the content-addressed store, hash-verified
212
213
/** Resolves whether the command is enabled, defaulting to true. */
214
export
function
isCommandEnabled(cmd: CommandBase): boolean {
215
return
cmd.isEnabled?.() ?? true
216
}
Callers
3
getCommands
Function · 0.85
handlePromptSubmit
Function · 0.85
REPL
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected