@echecs/elo - v2.2.1
    Preparing search index...

    Function expected

    • Calculates the expected probability of winning given two players' ratings.

      Parameters

      • a: number

        The rating of the first player.

      • b: number

        The rating of the second player.

      Returns number

      The expected probability of the first player winning.