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 was wondering if it would be feasible to use pattern matching to solve some ugly could where you sieve through object keys and check if they exist on the object to trigger side effect. For example, if you want to map some values to other values. Or need to string concat sql text if certain keys have values.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I was wondering if it would be feasible to use pattern matching to solve some ugly could where you sieve through object keys and check if they exist on the object to trigger side effect. For example, if you want to map some values to other values. Or need to string concat sql text if certain keys have values.
Beta Was this translation helpful? Give feedback.
All reactions