runtime(doc): fix return value in 'exists' and 'exists_compiled()'

closes: #18867

Signed-off-by: Mao-Yining <mao.yining@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Mao-Yining
2025-12-06 10:33:45 +01:00
committed by Christian Brabandt
parent f8c550fea0
commit 911ecdcd0e

View 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()*