MAIDR JavaScript API
    Preparing search index...

    Function occurrenceKeys

    • A key that tells apart objects sharing a name: the name, with how many objects of that name came before it. Counted in the order the author declared the data, which a rebuild keeps, rather than in the order the chart walks it, which a change of values can reshuffle.

      Returns (name: string) => string

      A function giving each name in turn its key