IncludeDirectories

IncludeDirectories

is an option that specifies whether directories are included in evaluations.

Details

  • With the default setting IncludeDirectoriesFalse, directories are excluded from evaluations.
  • With the setting IncludeDirectoriesTrue, functions like FileSystemMap will apply to both directories and files.

Examples

Basic Examples  (1)

By default, FileSystemMap excludes directories:

When IncludeDirectories is set to True, a key of All will be added for the evaluated directory:

Introduced in 2019
 (12.0)