LiveKit JS Client SDK - v2.15.6
    Preparing search index...

    Function compareVersions

    • Parameters

      • v1: string

        The first version string to compare.

      • v2: string

        The second version string to compare.

      Returns number

      A number indicating the order of the versions:

      • 1 if v1 is greater than v2
      • -1 if v1 is less than v2
      • 0 if v1 and v2 are equal