Top index Wirbel home

fs::is_file

is_file(path) - check if path exists and is a regular file

is_file(path) returns true if path points an existing regular file. If path is a symbolic link, it will be followed.

See also

is_blockdev, is_chardev, is_directory, is_fifo, is_socket, is_symlink