MCPcopy Create free account
hub / github.com/nodejs/node / filterByPositionalArgs

Function filterByPositionalArgs

deps/npm/lib/commands/ls.js:475–478  ·  view source on GitHub ↗
(args, { node })

Source from the content-addressed store, hash-verified

473}
474
475const filterByPositionalArgs = (args, { node }) =>
476 args.length > 0 ? args.some(
477 (spec) => (node.satisfies && node.satisfies(spec))
478 ) : true
479
480const augmentNodesWithMetadata = ({
481 args,

Callers 1

augmentNodesWithMetadataFunction · 0.85

Calls 1

someMethod · 0.80

Tested by

no test coverage detected