MCPcopy Index your code
hub / github.com/nodejs/node / createComparator

Function createComparator

test/fixtures/snapshot/typescript.js:3574–3576  ·  view source on GitHub ↗
(operator, operand)

Source from the content-addressed store, hash-verified

3572 return part === "*" || part === "x" || part === "X";
3573 }
3574 function createComparator(operator, operand) {
3575 return { operator: operator, operand: operand };
3576 }
3577 function testDisjunction(version, alternatives) {
3578 // an empty disjunction is treated as "*" (all versions)
3579 if (alternatives.length === 0)

Callers 2

parseHyphenFunction · 0.85
parseComparatorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected