diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-03-26 22:16:48 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-03-26 22:16:48 +0100 |
commit | 15c476023f3c5fb32eb1936c5eb5f0f5f413f3c7 (patch) | |
tree | be750fc0469158a70a4908e8ac74779bfd9426c9 /runtime | |
parent | bea9023d4260349c130faf447aa8d4cbadeffab2 (diff) |
patch 8.2.0459: cannot check if a function name is correctv8.2.0459
Problem: Cannot check if a function name is correct.
Solution: Add "?funcname" to exists().
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index fa25955c7b..e27945d715 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -4102,8 +4102,12 @@ exists({expr}) The result is a Number, which is |TRUE| if {expr} is defined, string) *funcname built-in function (see |functions|) or user defined function (see - |user-functions|). Also works for a - variable that is a Funcref. + |user-functions|) that is implemented. + Also works for a variable that is a + Funcref. + ?funcname built-in function that could be + implemented; to be used to check if + "funcname" is valid varname internal variable (see |internal-variables|). Also works for |curly-braces-names|, |Dictionary| |