UNPKG

341 BJavaScriptView Raw
1module.exports = {
2 'name': 'splitUnit',
3 'category': 'Construction',
4 'syntax': [
5 'splitUnit(unit: Unit, parts: Unit[])'
6 ],
7 'description':
8 'Split a unit in an array of units whose sum is equal to the original unit.',
9 'examples': [
10 'splitUnit(1 m, ["feet", "inch"])'
11 ],
12 'seealso': [
13 'unit', 'createUnit'
14 ]
15}