canConvert
function canConvert(from, to): boolean;Defined in: packages/engine/src/uom/UomConverter.ts:106
Check whether from can be converted to to. Same unit, or same
measure kind (length, mass, …) and the underlying tables accept the pair.
Never throws; returns false on any failure.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
from | string |
to | string |
Returns
Section titled “Returns”boolean