os.Path.isFile

Checks if a file is a regular file.

Syntax

os.Path.isFile(
   path STRING)
  RETURNS BOOLEAN
  1. path is the path to a file.

Usage

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