MCPcopy
hub / github.com/ionic-team/capacitor / isValidCommunityPlatform

Function isValidCommunityPlatform

cli/src/common.ts:323–325  ·  view source on GitHub ↗
(platform: string)

Source from the content-addressed store, hash-verified

321}
322
323export async function isValidCommunityPlatform(platform: string): Promise<boolean> {
324 return (await getKnownCommunityPlatforms()).includes(platform);
325}
326
327export async function getKnownEnterprisePlatforms(): Promise<string[]> {
328 return ['windows'];

Callers 1

addCommandFunction · 0.90

Calls 1

Tested by

no test coverage detected