directory?

check if given path exists and corresponds to a directory


Parameters

directory? path :string

Returns

  • :logical

Examples

copy
if directory? "src" [ print "directory exists!" ]

Related