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

Function isValidEnterprisePlatform

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

Source from the content-addressed store, hash-verified

329}
330
331export async function isValidEnterprisePlatform(platform: string): Promise<boolean> {
332 return (await getKnownEnterprisePlatforms()).includes(platform);
333}
334
335export async function promptForPlatform(
336 platforms: string[],

Callers 1

addCommandFunction · 0.90

Calls 1

Tested by

no test coverage detected