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 function for checking if a value is present. #10

Closed
gennyble opened this issue Jul 28, 2021 · 2 comments
Closed

Add function for checking if a value is present. #10

gennyble opened this issue Jul 28, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@gennyble
Copy link
Owner

gennyble commented Jul 28, 2021

Probably has(key) and child_has(key). It's interesting now because child_has(key) goes two children down, and it'd be the first to do that. is that too many?
Both of these are implementable on Confindent as well as Value.

@gennyble gennyble added the enhancement New feature or request label Apr 1, 2022
@gennyble
Copy link
Owner Author

gennyble commented Apr 1, 2022

Oh, wait, this doesn't make sense. child_has would need to take two keys, because which child are we talking about. I think it's okay to just have has(key). Maybe it should be renamed to has_child, then? Yeah, I think so.

@gennyble
Copy link
Owner Author

gennyble commented Apr 1, 2022

Implemented in e9530bd

@gennyble gennyble closed this as completed Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant