squiggle/packages/squiggle-lang/src/rescript/Utility/MathjsWrapper.js

9 lines
150 B
JavaScript
Raw Normal View History

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