Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hundredrabbits/Left
/ uniq
Function
uniq
desktop/sources/scripts/dictionary.js:83–83 ·
view source on GitHub ↗
(a1)
Source
from the content-addressed store, hash-verified
81
}
82
83
function
uniq (a1) {
const
a2 = [];
for
(
const
id in a1) {
if
(a2.indexOf(a1[id]) === -1) { a2[a2.length] = a1[id] } }
return
a2 }
84
}
85
86
module.exports = Dictionary
Callers
1
Dictionary
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected