Skip to content

Providing overridable Unit.isValidAlpha#2000

Merged
josdejong merged 3 commits into
josdejong:developfrom
rnd-debug:feat/custom-chars-in-units
Oct 28, 2020
Merged

Providing overridable Unit.isValidAlpha#2000
josdejong merged 3 commits into
josdejong:developfrom
rnd-debug:feat/custom-chars-in-units

Conversation

@rnd-debug
Copy link
Copy Markdown
Contributor

No description provided.

@josdejong
Copy link
Copy Markdown
Owner

Looks good @rnd-debug , thanks!

Can you please write a unit test to test the new functionality?

@josdejong
Copy link
Copy Markdown
Owner

O, and I think we should document this else nobody knows that this is possible

@rnd-debug
Copy link
Copy Markdown
Contributor Author

Ok, pushed some tests and an addition to docs/datatypes/units.md, assuming that this file is used to generate https://mathjs.org/docs/datatypes/units.html

@josdejong
Copy link
Copy Markdown
Owner

Thanks @rnd-debug, looks good !

@josdejong josdejong merged commit a34ebc2 into josdejong:develop Oct 28, 2020
@josdejong
Copy link
Copy Markdown
Owner

The new function Unit.isValidAlpha is now available in v7.6.0.

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.

2 participants