Checks if the specified units value represents imperial units.
This function returns true if the units are part of the imperial system, including inches, feet, miles, yards, and US survey units.
The units value to check
True if the units are imperial, false otherwise
const isImperial = isImperialUnits(AcDbUnitsValue.Inches); // trueconst isImperial2 = isImperialUnits(AcDbUnitsValue.Millimeters); // false Copy
const isImperial = isImperialUnits(AcDbUnitsValue.Inches); // trueconst isImperial2 = isImperialUnits(AcDbUnitsValue.Millimeters); // false
Checks if the specified units value represents imperial units.
This function returns true if the units are part of the imperial system, including inches, feet, miles, yards, and US survey units.