Public Method Author API

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

  • number

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

  • boolean

    Returns false if not in the Item editor view.

Related articles

Was this article helpful?