is_dir {msgr} | R Documentation |
Checks whether the variable is a path to an existing directory
Description
Checks whether the variable is a path to an existing directory
Usage
is_dir(x)
Arguments
x |
(any) The object to test |
Value
TRUE if x is a path to an existing directory, FALSE otherwise
Examples
is_dir(tempdir())
is_dir("/does/not/exist")
is_dir(1)
[Package msgr version 1.1.2 Index]