Function getAverage

  • Determine the average value from the sort of range that KoLmafia encodes as a string

    Parameters

    • range: string

      KoLmafia-style range string

    Returns number

    Average value for range