getItemDifficulty - Methods - Author API

Author API Methods

getItemDifficulty()

Gets the difficulty of the current Item being edited.

You would want to use this method so that you can make your own calculations based on the difficulty value in an adaptive assessment context, for example.

Examples

var itemDifficulty = authorApp.getItemDifficulty();
console.log(itemDifficulty);

Arguments

None.

Return value

Type number

The difficulty (as a number) for the current Item.

Type boolean

Returns false if not in the Item editor view.

Related articles

Was this article helpful?

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