Skip to content

Make Collection .getitem() return undefined if the key is not found #27

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

Open
Pckool opened this issue Aug 21, 2022 · 0 comments
Open

Make Collection .getitem() return undefined if the key is not found #27

Pckool opened this issue Aug 21, 2022 · 0 comments

Comments

@Pckool
Copy link
Contributor

Pckool commented Aug 21, 2022

There should be an optional configuration property on plexus collections that allows you to return undefined when accessing a dataItem that has not previously been collected.

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

No branches or pull requests

1 participant