Add selectEntries
as a mapEntries
that can also filter out entries
#57
Closed
aleclarson
announced in
RFCs
Replies: 1 comment 1 reply
-
For me, select(
object,
([key, value]) => [key.toUpperCase(), `${value}`],
([key]) => key !== 'power',
) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Copied from sodiray/radash#364
Basically, it does the following but in a more performant manner:
PR welcome
Beta Was this translation helpful? Give feedback.
All reactions