MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / arrayArg

Function arrayArg

scripts/experimental/swiftui-preview.mjs:1375–1380  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

1373}
1374
1375function arrayArg(value) {
1376 if (value == null) {
1377 return [];
1378 }
1379 return Array.isArray(value) ? value : [value];
1380}
1381
1382function splitBuildSetting(value) {
1383 if (!value) {

Callers 6

mainFunction · 0.85
parseArgsFunction · 0.85
monolithicCompileArgsFunction · 0.85
splitWrapperCompileArgsFunction · 0.85
previewSourceModuleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected