isRelative(href) is !isAbsolute(href) —
true for hrefs that are neither rooted at / nor carry a protocol.
Part of pota/use/url.
| Argument | Type | Description |
|---|---|---|
href |
string |
The URL to check. |
Returns: boolean — true when href is relative.