Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/immutable-js/immutable-js
/ defaultConverter
Function
defaultConverter
src/fromJS.js:48–51 ·
view source on GitHub ↗
(k, v)
Source
from the content-addressed store, hash-verified
46
}
47
48
function
defaultConverter(k, v) {
49
// Effectively the opposite of "Collection.toSeq()"
50
return
isIndexed(v) ? v.toList() : isKeyed(v) ? v.toMap() : v.toSet();
51
}
Callers
nothing calls this directly
Calls
5
isIndexed
Function · 0.90
isKeyed
Function · 0.90
toList
Method · 0.80
toMap
Method · 0.80
toSet
Method · 0.80
Tested by
no test coverage detected