Entracte (TypeScript)
    Preparing search index...

    Function deltaDirection

    • Direction of a current-vs-previous comparison — drives the colour class on delta chips. Equal counts read as "flat" so the renderer can stay quiet.

      Parameters

      • curr: number
      • prev: number

      Returns "up" | "down" | "flat"