patch 8.2.2339: cannot get the type of a value as a string
Problem: Cannot get the type of a value as a string.
Solution: Add typename().
diff --git a/runtime/doc/usr_41.txt b/runtime/doc/usr_41.txt
index 624bb93..5f9c8e1 100644
--- a/runtime/doc/usr_41.txt
+++ b/runtime/doc/usr_41.txt
@@ -720,7 +720,8 @@
srand() initialize seed used by rand()
Variables: *var-functions*
- type() type of a variable
+ type() type of a variable as a number
+ typename() type of a variable as text
islocked() check if a variable is locked
funcref() get a Funcref for a function reference
function() get a Funcref for a function name