Directory tester

[io/file/Directory tester]

Determines whether the specified path points to a directory. Example:

  1. "/home/user1/dir1"@0 received on path

  2. true@0 sent on is directory

Keywords: folder, isdir, is_dir, isDirectory, exists

Input ports

  • path: string

    Receives the path to test whether it is a directory or not. Example: "/home/user1/dir1" (To keep the application portable use "/" as path separator.)

Output ports

  • is directory: boolean

    Sends boolean value that indicates whether the specified path is a directory. Example: true

Last updated