diff runtime/doc/usr_41.txt @ 23594:d3e064f54890 v8.2.2339

patch 8.2.2339: cannot get the type of a value as a string Commit: https://github.com/vim/vim/commit/a47e05f04a5a5c0369c949157c24d09cbe64ad6a Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 12 21:49:00 2021 +0100 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().
author Bram Moolenaar <Bram@vim.org>
date Tue, 12 Jan 2021 22:00:06 +0100
parents 510088f8c66f
children 7b3317e959e3
line wrap: on
line diff
--- a/runtime/doc/usr_41.txt
+++ b/runtime/doc/usr_41.txt
@@ -720,7 +720,8 @@ Other computation:					*bitwise-function
 	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