pamoja for TypeScript - v0.1.17
    Preparing search index...

    Class Median

    Rejects a single wild reading, where an average would let it pull the answer.

    Index
    • Folds a reading in and returns the median of the window.

      Parameters

      • reading: number

      Returns number

    • The current median, or null before the first reading.

      Returns number | null