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

Function clients

test/fixtures/wpt/web-locks/query.https.any.js:11–13  ·  view source on GitHub ↗
(list, name)

Source from the content-addressed store, hash-verified

9}
10// Returns an array of the clientIds for the locks with matching name.
11function clients(list, name) {
12 return list.filter(item => item.name === name).map(item => item.clientId);
13}
14
15promise_test(async t => {
16 const res = uniqueName(t);

Callers 1

query.https.any.jsFile · 0.85

Calls 2

mapMethod · 0.65
filterMethod · 0.65

Tested by

no test coverage detected