remove no longer relevaant attribution.

This commit is contained in:
zeyus 2024-11-07 16:02:15 +01:00
parent a2e698d2f6
commit 5d1d67836c
Signed by untrusted user: zeyus
GPG key ID: CE89DA73E2E2C2CD

View file

@ -123,18 +123,13 @@ function extToFormat(ext: string): keyof FormatEnum {
} }
/** /**
* Determine whether the given `path` is a http(s) URL. This method * Check if a path is a web URI.
* accepts a string value and a URL instance.
* *
* inspiration:
* Marcus Pöhls
* https://futurestud.io/tutorials/node-js-check-if-a-path-is-a-file-url
*
* @param {String|URL} path * @param {String|URL} path
* The path to check. * The path to check.
* *
* @returns {Boolean} * @returns {Boolean}
* True if the path is a web URI, false otherwise. * Whether the path is a web URI.
*/ */
function isWebURI(path: string | URL): boolean { function isWebURI(path: string | URL): boolean {
try { try {