scheme_is_special
No overview available.
def scheme_is_special(
scheme: string
) - > boolean
Determines if a given URL scheme is considered "special" according to the WHATWG URL Standard.
Parameters
| Name | Type | Description |
|---|---|---|
| scheme | string | The URL protocol scheme to be validated against the list of special schemes. |
Returns
| Type | Description |
|---|---|
boolean | True if the scheme is one of the special protocols (ftp, file, http, https, ws, wss), False otherwise. |