is_dir {msgr} | R Documentation |
Checks whether the variable is a path to an existing directory
is_dir(x)
x |
(any) The object to test |
TRUE if x is a path to an existing directory, FALSE otherwise
is_dir(tempdir())
is_dir("/does/not/exist")
is_dir(1)