MCPcopy Create free account
hub / github.com/immutable-js/immutable-js / values

Function values

__tests__/fromJS.ts:37–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35
36 it('convert iterable to Immutable collection', () => {
37 function* values() {
38 yield 1;
39 yield 2;
40 yield 3;
41 }
42 const result = fromJS(values());
43 expect(List.isList(result)).toBe(true);
44 expect(result.count()).toBe(3);

Callers 1

fromJS.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected