Submit a request
Submit a request

isUnit Scoring Method

Overview

The isUnit method is used for unit comparison, and checks if the expression has the expected units in it.

isUnit is commonly used in conjunction with equivValue. 

Example

Basic isUnit example

In this case, any response given in the specified units will be correct.

Screen_Shot_2019-02-11_at_13.45.14.png

Figure 1: Basic isUnit example

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity by clicking here.