1
0
forked from aniani/vim

patch 9.0.2162: Vim9: type documentation out-dated

Problem:  Vim9: type documentation out-dated
Solution: Update documentation, fix typo in type alias
          definition

closes: #13684

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Yegappan Lakshmanan
2023-12-14 20:03:03 +01:00
committed by Christian Brabandt
parent d2e1c83962
commit 2a71b54d35
6 changed files with 49 additions and 8 deletions

View File

@@ -10181,6 +10181,7 @@ type({expr}) The result is a Number representing the type of {expr}.
Blob: 10 |v:t_blob|
Class: 12 |v:t_class|
Object: 13 |v:t_object|
Typealias: 14 |v:t_typealias|
For backward compatibility, this method can be used: >
:if type(myvar) == type(0)
:if type(myvar) == type("")