validateDifficulty: (Internal) Validate item objects
Description
These are internal functions for validating item objects for their item parameters.
Usage
validateDifficulty(object)validateSlope(object)
validateGuessing(object)
validateNcat(object)
validateNthr(object)
validateCategory(object)
validateOrder(object)
Value
These functions return an error message string if the input object is not valid.
These do not return anything for valid objects.
Arguments
- object
an item object.