MCPcopy Index your code
hub / github.com/ionic-team/capacitor / getKnownCommunityPlatforms

Function getKnownCommunityPlatforms

cli/src/common.ts:319–321  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

317}
318
319export async function getKnownCommunityPlatforms(): Promise<string[]> {
320 return ['electron'];
321}
322
323export async function isValidCommunityPlatform(platform: string): Promise<boolean> {
324 return (await getKnownCommunityPlatforms()).includes(platform);

Callers 1

isValidCommunityPlatformFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected