// Mirrors Node.js internal/url isURL() shape check.
// It intentionally avoids instanceof checks so URL-like objects from
// other realms/implementations are recognized the same way as Node does.
exportfunctionisURL(value){returnBoolean(value?.href&&value.protocol&&value.auth===undefined&&value.path===undefined,
);}exportdefault{isURL};