MCPcopy Create free account
hub / github.com/chhoumann/quickadd / splitPipeParts

Function splitPipeParts

src/utils/pipeSyntax.ts:1–4  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

1export function splitPipeParts(input: string): string[] {
2 // `String.prototype.split` preserves empty segments, including trailing ones.
3 return input.split("|");
4}
5
6export function stripLeadingPipe(input: string): string {
7 if (!input.startsWith("|")) return input;

Callers 6

parseValueTokenFunction · 0.90
parseMethod · 0.90
parseVDateOptionsFunction · 0.90
parseFileTokenFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected