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 Object::get_opt and Object::get_value convenience APIs #867

Merged
merged 2 commits into from Mar 4, 2022

Conversation

dherman
Copy link
Collaborator

@dherman dherman commented Mar 4, 2022

This PR adds Object::get_opt and Object::get_value convenience APIs, to make it easier to do the right thing for error conditions when type-testing object properties.

@kjvalencik kjvalencik merged commit f942e99 into main Mar 4, 2022
@kjvalencik kjvalencik deleted the object-get-conveniences branch March 4, 2022 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants