@eagleoutice/flowr - v2.15.9
    Preparing search index...

    Function compareByCodeUnit

    • Orders two strings by code unit, which every machine agrees on. Use this wherever an order decides an analysis result: localeCompare reads the machine's locale and ICU build, so it would make two users analyzing the same code disagree (da orders A before a, en-US the other way round).

      Parameters

      • a: string
      • b: string

      Returns number