Evalkeeper
    Preparing search index...

    Function aroundCase

    • Where a case sits in a list of disagreements, and the cases before and after it, for stepping through them one at a time. index is -1 (and previous null, next the first) when the case isn't in the list.

      Parameters

      • list: Disagreement[]

        The disagreements, in the order they're read.

      • caseId: string

        The case being read now.

      Returns { index: number; next: string | null; previous: string | null }