MCPcopy Create free account
hub / github.com/denoland/std / parseOperatorRanges

Function parseOperatorRanges

semver/parse_range.ts:357–359  ·  view source on GitHub ↗
(string: string)

Source from the content-addressed store, hash-verified

355 }
356}
357function parseOperatorRanges(string: string): (Comparator | null)[] {
358 return string.split(/\s+/).flatMap(parseOperatorRange);
359}
360
361/**
362 * Parses a range string into a {@linkcode Range} object.

Callers 1

parseRangeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected