parseMathsForm
Parses a form: value, exact, simplified or rounded(n) with n a whole number from 0 to 10, into a MathsForm, or returns why it could not be read.
@internote/canvas-sdkOn this page
import { parseMathsForm } from '@internote/canvas-sdk';#Signature
(text: string): { ok: true; form: MathsForm; } | { ok: false; error: string; }#Parameters
textThe value as written.
Declared in packages/canvas-sdk/src/assess/index.ts:19.