mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 15:48:32 -06:00
rubric item tests
This commit is contained in:
@@ -2,3 +2,9 @@ export interface RubricItem {
|
||||
label: string;
|
||||
points: number;
|
||||
}
|
||||
|
||||
|
||||
export const rubricItemIsExtraCredit = (item: RubricItem) => {
|
||||
const extraCredit = '(extra credit)';
|
||||
return item.label.toLowerCase().includes(extraCredit.toLowerCase());
|
||||
}
|
||||
Reference in New Issue
Block a user