Skip to content

Commit 15c4760

Browse files
committed
patch 8.2.0459: cannot check if a function name is correct
Problem: Cannot check if a function name is correct. Solution: Add "?funcname" to exists().
1 parent bea9023 commit 15c4760

5 files changed

Lines changed: 308 additions & 214 deletions

File tree

runtime/doc/eval.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4102,8 +4102,12 @@ exists({expr}) The result is a Number, which is |TRUE| if {expr} is defined,
41024102
string)
41034103
*funcname built-in function (see |functions|)
41044104
or user defined function (see
4105-
|user-functions|). Also works for a
4106-
variable that is a Funcref.
4105+
|user-functions|) that is implemented.
4106+
Also works for a variable that is a
4107+
Funcref.
4108+
?funcname built-in function that could be
4109+
implemented; to be used to check if
4110+
"funcname" is valid
41074111
varname internal variable (see
41084112
|internal-variables|). Also works
41094113
for |curly-braces-names|, |Dictionary|

0 commit comments

Comments
 (0)