Handbook
Glossary
regular-file? ( path/info -- ? )
Factor handbook
»
Input and output
»
File system metadata
Prev:
directory? ( path/info -- ? )
Next:
symbolic-link? ( 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 normal file.
Definition
USING:
accessors
io.files.info.private
io.files.types
kernel
;
IN:
io.files.info
:
regular-file?
( path/info -- ? )
[
>file-info
type>>
+regular-file+
=
]
?call
;