MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / getPlatform

Function getPlatform

packages/webpack5/src/helpers/platform.ts:42–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40 * Utility to get the currently targeted platform definition
41 */
42export function getPlatform(): INativeScriptPlatform {
43 return platforms[getPlatformName()];
44}
45
46/**
47 * Utility to get all registered/available platforms

Callers 2

getEntryPathFunction · 0.85
getDistPathFunction · 0.85

Calls 1

getPlatformNameFunction · 0.85

Tested by

no test coverage detected