Handbook
Glossary
path-separator? ( ch -- ? )
Vocabulary
io
.
pathnames
Inputs
ch
a code point
Outputs
?
a
boolean
Word description
Tests if the code point is a platform-specific path separator.
Examples
On Unix:
USING: io.pathnames prettyprint ; CHAR: / path-separator? .
t
Definition
USING:
kernel
sequences
system
;
IN:
io.pathnames
:
path-separator?
( ch -- ? )
os
windows?
"/\\"
"/"
?
member?
;