8 lines
309 B
JavaScript
8 lines
309 B
JavaScript
|
export var 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']
|
||
|
};
|