//#region src/components/ImportCollection/utils/is-document.ts
/** Checks whether the given string could be an OpenAPI document */
function isDocument(input) {
	if (!input || input.trim().length === 0) return false;
	const trimmed = input.trim();
	if (trimmed.startsWith("http://") || trimmed.startsWith("https://")) return false;
	return true;
}
//#endregion
export { isDocument };

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