MCPcopy Index your code
hub / github.com/immutable-js/immutable-js / fromJS

Function fromJS

src/fromJS.js:9–18  ·  view source on GitHub ↗
(value, converter)

Source from the content-addressed store, hash-verified

7import isPlainObj from './utils/isPlainObj';
8
9export function fromJS(value, converter) {
10 return fromJSWith(
11 [],
12 converter || defaultConverter,
13 value,
14 '',
15 converter && converter.length > 2 ? [] : undefined,
16 { '': value }
17 );
18}
19
20function fromJSWith(stack, converter, value, key, keyPath, parentValue) {
21 if (

Callers 13

from-js.tsFile · 0.85
merge.tsFile · 0.85
hasIn.tsFile · 0.85
Conversion.tsFile · 0.85
updateIn.tsFile · 0.85
issues.tsFile · 0.85
Map.tsFile · 0.85
fromJS.tsFile · 0.85
List.tsFile · 0.85
flatten.tsFile · 0.85
Map.collision.tsFile · 0.85
asImmutableMethod · 0.85

Calls 1

fromJSWithFunction · 0.85

Tested by 1

asImmutableMethod · 0.68