Function get

  • Returns Infinity for counters that do not exist, and otherwise returns the duration of the counter

    Parameters

    • counter: string

      The name of the counter in question

    Returns number

    Infinity if the counter does not exist; otherwise returns the duration of the counter