2020-07-02 15:03:16 +10:00

11 lines
378 B
Plaintext

{
"name": "is_file",
"type": "function",
"groups": ["Files and Paths"],
"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"}]
}