We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
it would be extremely useful if the Hex model had a toString function, so that it can be used as the key in a hash map
Hex
toString
the default behavior is [object Object], which makes it pretty useless, and a hash map is the recommended storage method on the red blob post!
[object Object]
thoughts?
The text was updated successfully, but these errors were encountered:
Can you elaborate on this? Do you mean something like the following?
toString(){ return JSON.stringify( `{ q: ${ this.q }, r: ${ this.r }, s: ${this.s} }` ); }
Sorry, something went wrong.
@IcculusC can you link the blogpost?
No branches or pull requests
it would be extremely useful if the
Hex
model had atoString
function, so that it can be used as the key in a hash mapthe default behavior is
[object Object]
, which makes it pretty useless, and a hash map is the recommended storage method on the red blob post!thoughts?
The text was updated successfully, but these errors were encountered: