os.Path.isHidden

Checks if a file is hidden.

Syntax

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

Usage

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

For example, on UNIX™, files starting with a dot in the file name are considered as hidden when using the ls command.