Function removeUnsupported

  • This function is called automatically for getBeatmap and getBeatmaps, you may use it yourself if it is necessary for anything else

    Parameters

    • mods: Mods[]

      An array of Mods from which the so-called "unsupported mods" will be removed

    Returns Mods[]

    mods without the unsupported mods, and with Mods.DOUBLETIME if Mods.NIGHTCORE was in there