//#region src/components/ImportCollection/utils/is-url.ts
/**
* Checks whether the given string is an URL
**/
function isUrl(input) {
	if (!input) return false;
	const trimmed = input.trim();
	if (!trimmed.startsWith("http://") && !trimmed.startsWith("https://")) return false;
	return trimmed.replace(/^https?:\/\//, "").length > 0;
}
//#endregion
export { isUrl };

//# sourceMappingURL=is-url.js.map