]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): fix return value in 'exists' and 'exists_compiled()'
authorMao-Yining <mao.yining@outlook.com>
Sat, 6 Dec 2025 09:33:45 +0000 (10:33 +0100)
committerChristian Brabandt <cb@256bit.org>
Sat, 6 Dec 2025 09:33:45 +0000 (10:33 +0100)
closes: #18867

Signed-off-by: Mao-Yining <mao.yining@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/builtin.txt

index a6a7d86630ea1f537d743cba7368541e4d42e947..1190300cc5b6ef92d7eba4867f89c4a4d057dc8f 100644 (file)
@@ -1,4 +1,4 @@
-*builtin.txt*  For Vim version 9.1.  Last change: 2025 Dec 02
+*builtin.txt*  For Vim version 9.1.  Last change: 2025 Dec 06
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -2891,7 +2891,7 @@ exists({expr})                                            *exists()*
                Can also be used as a |method|: >
                        Varname()->exists()
 <
-               Return type: |String|
+               Return type: |Number|
 
 
 exists_compiled({expr})                                        *exists_compiled()*
@@ -2908,7 +2908,7 @@ exists_compiled({expr})                                   *exists_compiled()*
                Can only be used in a |:def| function. *E1233*
                This does not work to check for arguments or local variables.
 
-               Return type: |String|
+               Return type: |Number|
 
 
 exp({expr})                                            *exp()*