MAIDR JavaScript API
    Preparing search index...
    • Whether an axis label is exactly one rate's name, case and surrounding space aside.

      Parameters

      • label: string | undefined

        The axis label, with any decoration the library adds removed

      • rate: "recall" | "precision"

        The rate's name, in lower case

      Returns boolean

      True when the label names that rate and nothing else