Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitejs/vite
/ unique
Function
unique
packages/vite/src/node/utils.ts:913–915 ·
view source on GitHub ↗
(arr: T[])
Source
from the content-addressed store, hash-verified
911
}
912
913
export
function
unique<T>(arr: T[]): T[] {
914
return
Array.from(
new
Set(arr))
915
}
916
917
/**
918
* Returns resolved localhost address when `dns.lookup` result differs from DNS
Callers
5
resolveBuildEnvironmentOptions
Function · 0.90
getCssFilesForChunk
Function · 0.90
headTagInsertCheck
Function · 0.90
getConfigHash
Function · 0.90
extractHostnamesFromCerts
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected