Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TypeStrong/tsify
/ findIndex
Function
findIndex
test/test.js:822–829 ·
view source on GitHub ↗
(file)
Source
from the content-addressed store, hash-verified
820
});
821
822
function
findIndex(file) {
823
for
(
var
i = 0; i < emitted.length; ++i) {
824
if
(
new
RegExp(file +
'$'
).test(emitted[i])) {
825
return
i;
826
}
827
}
828
return
-1;
829
}
830
}
Callers
1
expectFiles
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected