15 lines
573 B
JavaScript
15 lines
573 B
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.createUnitDocs = void 0;
|
|
var createUnitDocs = {
|
|
name: 'createUnit',
|
|
category: 'Construction',
|
|
syntax: ['createUnit(definitions)', 'createUnit(name, definition)'],
|
|
description: 'Create a user-defined unit and register it with the Unit type.',
|
|
examples: ['createUnit("foo")', 'createUnit("knot", {definition: "0.514444444 m/s", aliases: ["knots", "kt", "kts"]})', 'createUnit("mph", "1 mile/hour")'],
|
|
seealso: ['unit', 'splitUnit']
|
|
};
|
|
exports.createUnitDocs = createUnitDocs; |