Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Conversation

@benbrimeyer
Copy link

Adds the following methods to Dictionary:

  • updateIn(dictionary, keyPath, updater, notSetValue)
  • getIn(dictionary, keyPath, default)
  • setIn(dictionary, keyPath, newValue)
  • removeIn(dictionary, keyPath)

Implementations and test cases are similar to Immutable.js's implementations of these methods.

@benbrimeyer benbrimeyer merged commit e1bb71a into master Mar 2, 2021
@benbrimeyer benbrimeyer deleted the bbrimeyer/feature/getIn-setIn branch March 2, 2021 06:38
@benbrimeyer benbrimeyer restored the bbrimeyer/feature/getIn-setIn branch March 2, 2021 06:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants