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

Function skipWhitespace

scripts/experimental/swiftui-preview.mjs:1087–1092  ·  view source on GitHub ↗
(source, index)

Source from the content-addressed store, hash-verified

1085}
1086
1087function skipWhitespace(source, index) {
1088 while (/\s/.test(source[index] ?? "")) {
1089 index += 1;
1090 }
1091 return index;
1092}
1093
1094function skipQuoted(source, start) {
1095 const quote = source[start];

Callers 1

extractPreviewsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected