Skip to content

Case to Legislation Parser (parseLegislation.ts)

Andrew edited this page Oct 20, 2020 · 1 revision

Case to Legislation Parser (parseLegislation.ts)

For each case, find legislation act names and sections mentioned in it.

Requires the following to be passed in:

caseText: string;
footnotes: string[];
footnoteContexts: string[];
isValid: boolean;
fileKey: string;
allLegislation: {
    title: string;
    link: string;
    id: string;
}[];