* Create a unit. Depending on the passed arguments, the function will * create and return a new math.type.Unit object. When a matrix is * provided, all elements will be converted to units. * @param unit The unit to be created
(this: MathJsChain<string>, unit?: string)
| 5103 | * @param unit The unit to be created |
| 5104 | */ |
| 5105 | unit(this: MathJsChain<string>, unit?: string): MathJsChain<Unit> |
| 5106 | unit(this: MathJsChain<MathNumericType>, unit?: string): MathJsChain<Unit> |
| 5107 | unit(this: MathJsChain<MathCollection>): MathJsChain<Unit[]> |
| 5108 |
no outgoing calls
no test coverage detected