mathjs
Version:
Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif
16 lines (15 loc) • 341 B
JavaScript
export const splitUnitDocs = {
name: 'splitUnit',
category: 'Construction',
syntax: [
'splitUnit(unit: Unit, parts: Unit[])'
],
description:
'Split a unit in an array of units whose sum is equal to the original unit.',
examples: [
'splitUnit(1 m, ["feet", "inch"])'
],
seealso: [
'unit', 'createUnit'
]
}