symbolic-link? ( path/info -- ? )
Factor handbook » Input and output » File system metadata

Prev:regular-file? ( path/info -- ? )
Next:file-readable? ( path -- ? )


Vocabulary
io.files.info

Inputs
path/infoa pathname string or a file-info-tuple


Outputs
?a boolean


Word description
Tests if path/info is a symbolic link. Unlike other type predicates in this vocabulary, does not dereference links when passed a path, so it is possible for both this and another type predicate to be true for the same path.

Definition