Extensions.File.IsDirectory
Jump to navigation
Jump to search
Contents
Classification
Name | IsDirectory |
Short Description | Determines whether the specified path exists and is a directory |
Class | Term |
Extension | OTX File extension |
Group | File related Terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
BooleanTerm File.IsDirectory(StringTerm path);
Description
The IsDirectory activity determines whether the specified path exists and is a directory.
Return Value
The Term returns the value, see table below.
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
Boolean | Returns TRUE if the specified path exists and is a directory. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Path | String | Term | - | [1..1] | The directory to check. The path parameter is permitted to specify relative or absolute path information. |
OTL Examples
/// Local Declarations
String String1 = "";
Boolean Boolean1 = false;
/// Flow
String1 = File.CreateTempDirectory();
Boolean1 = File.IsDirectory(String1);
See also
CreateTempDirectory
GetFilePath
GetFilesFromDirectory
GetFileSize
IsEndOfFileReached
IsFile
OpenFileForRead
OpenFileForWrite
ReadBytes
ReadFile
ReadLine