listPlatforms
listPlatforms(
presets?):string[]
Defined in: packages/capability/src/presets/platform.ts:94
列出所有平台名(去重,保持首次出现顺序)。
供“先选平台,再选尺寸”的两级选择器使用。
Parameters
Section titled “Parameters”presets?
Section titled “presets?”PlatformSizePreset[] = PLATFORM_PRESETS
Returns
Section titled “Returns”string[]