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
I want to use find() but have it return key rather than value so that I can use it with replace(). I could do this with reduce() instead I guess but was hoping I could make it more granular. Is there way to do this?
The text was updated successfully, but these errors were encountered:
I hope I'm not missing something obvious..
I want to use
find()
but have it returnkey
rather thanvalue
so that I can use it withreplace()
. I could do this withreduce()
instead I guess but was hoping I could make it more granular. Is there way to do this?The text was updated successfully, but these errors were encountered: