judgeText
Judges a text answer: correct when, ignoring case and surrounding or repeated whitespace, it matches any one of the accepted strings.
@internote/canvas-sdkOn this page
import { judgeText } from '@internote/canvas-sdk';#Values
correctincorrect#Parameters
acceptedThe strings the question accepts.
answerWhat the reader typed.
Declared in packages/canvas-sdk/src/assess/judge.ts:442.