@dvxch/yandex-music
    Preparing search index...

    Function convertTrackIdToNumber

    • Normalize a track identifier to its numeric form.

      Identifiers may arrive as a plain id ("42") or in the compound "{trackId}:{albumId}" form; both collapse to the numeric track id.

      Parameters

      • trackId: string | number

        The track identifier, numeric or string.

      Returns number

      The numeric track id.