Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ionic-team/capacitor
/ isInstalled
Function
isInstalled
cli/src/util/subprocess.ts:38–46 ·
view source on GitHub ↗
(command: string)
Source
from the content-addressed store, hash-verified
36
}
37
38
export
async
function
isInstalled(command: string): Promise<boolean> {
39
try {
40
await
which(command);
41
} catch (e) {
42
return
false;
43
}
44
45
return
true;
46
}
Callers
4
determinePackageManager
Function · 0.90
checkXcode
Function · 0.90
checkCocoaPods
Function · 0.90
updatePodfile
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected