squiggle/packages/squiggle-lang/src/rescript/Utility/MathjsWrapper.js
2022-04-11 10:51:43 +10:00

10 lines
147 B
JavaScript

const math = require("mathjs");
function parseMath(f) {
return JSON.parse(JSON.stringify(math.parse(f)));
}
module.exports = {
parseMath,
};