-
Notifications
You must be signed in to change notification settings - Fork 993
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
Tone.Time.valueOf #205
Comments
I think
Might be interesting to include some comparison operators like |
@tambien the difference being that I very easily worked around this by just using implementing the individual comparison functions on the objects themselves seems interesting, but not sure what advantage over Anyways, thanks for hearing me out and offering your thoughts. 🤘 |
@JackCA oh interesting! I wasn't aware that valueOf has this special property. So probably the easiest route is just to alias Feel free to send a PR. Just make sure it's on the |
Thought it might be a good idea to have a
valueOf
method onTone.Time
objects so that the following would evaluate correctly:What do you think? I will offer to implement again or you can run with it.
You could probably just alias it to
toTicks
🎵
The text was updated successfully, but these errors were encountered: