You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.
Is there discussion or an existing solution for a setInversion? It seems like it could maintain the same api and just add an extra param to set value if path exists.
That is beyond the scope of idx which was originally meant as a stop-gap solution while optional chaining was still being evaluated for the JavaScript language.
Furthermore, this might significantly complicate the type definition and validation of idx.
Is there discussion or an existing solution for a
setIn
version? It seems like it could maintain the same api and just add an extra param to set value if path exists.similar to: https://lodash.com/docs/4.17.11#set
Seems like this would be useful to others?
The text was updated successfully, but these errors were encountered: