-
Notifications
You must be signed in to change notification settings - Fork 51
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 to_b
and to_h
to JS::Object
#346
Comments
For |
I understand. So in that case I can implement it myself for my use case. What about |
Right, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would like to suggest adding
to_b
andto_h
toJS::Object
, to convert into a ruby boolean respective hash.to_b → boolean
Converts
self
totrue
orfalse
:to_h → hash
Converts
self
to a Hash:The text was updated successfully, but these errors were encountered: