2022-04-04 09:47:19 +10:00

19 lines
583 B
Plaintext

{
"name": "is_directory",
"type": "function",
"groups": ["Files and Paths"],
"description": "Returns TRUE if a path corresponds to a directory.",
"arguments": [{
"arg": "path",
"description": "a file path or a map layer value. If a map layer value is specified then the file source of the layer will be used."
}],
"examples": [{
"expression": "is_directory('/home/qgis/data/country_boundaries.shp')",
"returns": "FALSE"
}, {
"expression": "is_directory('/home/qgis/data/')",
"returns": "TRUE"
}],
"tags": ["path", "directory", "folder"]
}