Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a pluckDefault operator #68

Open
codemile opened this issue Sep 4, 2020 · 1 comment
Open

add a pluckDefault operator #68

codemile opened this issue Sep 4, 2020 · 1 comment

Comments

@codemile
Copy link
Collaborator

codemile commented Sep 4, 2020

Summary

The pluck() operator will pick out a property from an object, but it throws an error at run-time if the value is not an object (such as undefined). Create an operator that will pluck if the value is object or emit a default value if it is not.

@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.71. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant