Open FoxxMD opened 4 years ago
I hope I'm not missing something obvious..
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?
find()
key
value
replace()
reduce()
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?