mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
16 lines
477 B
Plaintext
16 lines
477 B
Plaintext
{
|
|
"name": "file_exists",
|
|
"type": "function",
|
|
"groups": ["Files and Paths"],
|
|
"description": "Returns TRUE if a file path exists.",
|
|
"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": "file_exists('/home/qgis/data/country_boundaries.shp')",
|
|
"returns": "TRUE"
|
|
}],
|
|
"tags": ["path", "exists", "file"]
|
|
}
|