mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-18 14:59:29 +00:00
* fix(FunctionNode): Improve error message when a non-function is called Also adds tests for as many different varieties of function calls and their associate messages when the entity being called is not a function as I could come up with. Resolves #2493. * feat(format): Add a truncate option to limit result length. Also uses the new option in FunctionNode.js to limit the length of the value portion of its new error messages. (As requested in review) * docs: Add 'truncate' option to the list in the exported version of 'format'