Handbook
Glossary
url-string? ( object -- ? )
Vocabulary
webbrowser
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
url-string
class.
Definition
USING:
accessors
combinators.short-circuit
kernel
sequences
strings
urls
;
IN:
webbrowser
:
url-string?
( object -- ? )
dup
string?
[
{
[
"://"
subseq-index
]
[
>url
protocol>>
>boolean
]
}
1&&
]
[
drop
f
]
if
;