Scroll to navigation

IO.fileExists(3kaya) Kaya module reference IO.fileExists(3kaya)

NAME

IO::fileExists - Checks a file exists

SYNOPSIS

Bool fileExists( String fname )

ARGUMENTS

fname The file name

DESCRIPTION

Returns true if the filename exists, false otherwise. If the file exists, but the current process is unable to determine this (for example, because the file is in an unreadable directory), false will be returned.

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

RELATED

IO.fileExecutable (3kaya)
IO.fileReadable (3kaya)
IO.fileWritable (3kaya)
IO.stat (3kaya)
August 2014 Kaya