This site describes solve-engine as it is on main: 2.43.0, which npm does not have yet. npm installs 2.40.0, so a page may show an answer that version does not give yet.
isConvertibleUnit
function isConvertibleUnit(unit): boolean;Defined in: packages/engine/src/uom/UomConverter.ts:313
Check whether unit is a unit the conversion tables recognize. Never throws.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
unit | string |
Returns
Section titled “Returns”boolean