MCPcopy Index your code
hub / github.com/immerjs/immer / second

Function second

__tests__/base.js:3865–3867  ·  view source on GitHub ↗
(set)

Source from the content-addressed store, hash-verified

3863 }
3864
3865 function second(set) {
3866 return Array.from(set.values())[1]
3867 }
3868
3869 test(`modify deep object`, () => {
3870 const [res, patches] = produceWithPatches(base, draft => {

Callers 1

runBaseTestFunction · 0.85

Calls 1

valuesMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…