os.Path.isFile

Checks if a file is a regular file.

Syntax

os.Path.isFile(
   fname STRING)
  RETURNING result BOOLEAN
  1. fname is the file name.

Usage

The function returns TRUE if the file is a regular file, FALSE otherwise.