Function: hpath:url-p
hpath:url-p is a byte-compiled function defined in hpath.el.
Signature
(hpath:url-p OBJ)
Documentation
Return t if OBJ is a url, else nil.
Url is a world-wide-web universal resource locator.
The url may lack a leading protocol; it will be inferred.
See the documentation for hpath:url-regexp for match groupings to
use with string-match.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hpath.el
(defun hpath:url-p (obj)
"Return t if OBJ is a url, else nil.
Url is a world-wide-web universal resource locator.
The url may lack a leading protocol; it will be inferred.
See the documentation for `hpath:url-regexp' for match groupings to
use with `string-match'."
(and (stringp obj)
(or (string-match hpath:string-url-regexp obj)
(string-match hpath:string-url-regexp2 obj)
(string-match hpath:string-url-regexp3 obj))
t))