Handbook
Glossary
directory? ( path/info -- ? )
Factor handbook
»
Input and output
»
File system metadata
Prev:
File types
Next:
regular-file? ( path/info -- ? )
Vocabulary
io
.
files
.
info
Inputs
path/info
a pathname string or a
file-info-tuple
Outputs
?
a
boolean
Word description
Tests if
path/info
is a directory.
Definition
USING:
accessors
io.files.info.private
io.files.types
kernel
;
IN:
io.files.info
:
directory?
( path/info -- ? )
[
>file-info
type>>
+directory+
=
]
?call
;