Skip to main content
IsUnit
Vladimir Franco avatar
Written by Vladimir Franco
Updated over 5 years ago

The isUnit method checks if an expression contains the expected units.

isUnit is commonly used in conjunction with equivValue. For worked examples of combining isUnit with equivValue, please see equivValue Combining Methods section.

Additional Options

  • Allow thousands separatorWhen enabled, authors can specify what separators can be used by the students. From the Thousand separator drop-down menu, you can select either dot, comma or space. Decimal separator menu can be found below Thousand Separator.

Did this answer your question?