mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
10 lines
345 B
Plaintext
10 lines
345 B
Plaintext
|
{
|
||
|
"name": "is_file",
|
||
|
"type": "function",
|
||
|
"description": "Returns true if a path corresponds to a file.",
|
||
|
"arguments": [ {"arg":"path","description":"a file path"}],
|
||
|
"examples": [ { "expression":"is_file('/home/qgis/data/country_boundaries.shp')", "returns":"true"},
|
||
|
{ "expression":"is_file('/home/qgis/data/')", "returns":"false"}]
|
||
|
}
|
||
|
|