19 lines
484 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"
}],
"examples": [{
"expression": "is_directory('/home/qgis/data/country_boundaries.shp')",
"returns": "false"
}, {
"expression": "is_directory('/home/qgis/data/')",
"returns": "true"
}],
"tags": ["path", "directory", "corresponds"]
}