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

    Returns

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

    Parameters

    • url: string

      A string representing the URL.

    • Rest ...schemes: string[]

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

    Returns boolean