diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-02-09 21:50:44 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-02-09 21:50:44 +0000 |
commit | 9da17d7c57071c306565da6a35c3704db1916b78 (patch) | |
tree | 7c3a8aaadc469baa93b14e8d7ae22e974450f036 /runtime/doc/builtin.txt | |
parent | 78a8404f8b6ad0152614d5fdc3ec277444c1eee5 (diff) |
Update runtime files
Diffstat (limited to 'runtime/doc/builtin.txt')
-rw-r--r-- | runtime/doc/builtin.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index 8299597830..299bcba634 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -1,4 +1,4 @@ -*builtin.txt* For Vim version 8.2. Last change: 2022 Feb 04 +*builtin.txt* For Vim version 8.2. Last change: 2022 Feb 08 VIM REFERENCE MANUAL by Bram Moolenaar @@ -4670,9 +4670,11 @@ islocked({expr}) *islocked()* *E786* :echo islocked('alist') " 1 :echo islocked('alist[1]') " 0 -< When {expr} is a variable that does not exist you get an error - message. Use |exists()| to check for existence. - In Vim9 script it does not work for local variables. +< When {expr} is a variable that does not exist -1 is returned. + If {expr} uses a range, list or dict index that is out of + range or does not exist you get an error message. Use + |exists()| to check for existence. + In Vim9 script it does not work for local function variables. Can also be used as a |method|: > GetName()->islocked() |