Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/darkreader/darkreader
/ isSorted
Function
isSorted
tasks/integrity.js:113–115 ·
view source on GitHub ↗
(arr)
Source
from the content-addressed store, hash-verified
111
}
112
113
function
isSorted(arr) {
114
return
arr.every((v, i, a) => !i || a[i - 1] <= v);
115
}
116
117
const
lines = manifest.split(
'\n'
);
118
assert(lines[0] ===
'Manifest-Version: 1.0'
);
Callers
1
firefoxExtractHashMetaInfOrder
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected