Correxit API / Browser / Rubric / Reference
Reference¶
Functions¶
get()¶
get(
rubric,id):Readonly\<{cell:string;points:number;referent:string;secret:boolean; }> |null
Defined in: src/correxit/rubric.ts:343
Parameters¶
| Parameter | Type |
|---|---|
rubric |
Rubric |
id |
string |
Returns¶
Readonly\<{ cell: string; points: number; referent: string; secret: boolean; }> | null
the reference for id, or null.
reweight()¶
reweight(
rubric,referent,points):Unlocked
Defined in: src/correxit/rubric.ts:348
Parameters¶
| Parameter | Type |
|---|---|
rubric |
Unlocked |
referent |
string |
points |
number |
Returns¶
a rubric with a reference's points updated.