• Checks if the scheme part of the specified url matches at least one of the provided options.

    Parameters

    • url: string

      A string representing the URL.

    • Rest...schemes: string[]

      Scheme value options (the function will check whether at least one matches the URL scheme).

    Returns boolean

    True if the URL scheme matches at least one of the provided options, false otherwise.