mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
19 lines
583 B
Plaintext
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"]
|
|
}
|