Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
23593:934ad0b3ba7b | 23594:d3e064f54890 |
---|---|
718 sha256() SHA-256 hash | 718 sha256() SHA-256 hash |
719 rand() get a pseudo-random number | 719 rand() get a pseudo-random number |
720 srand() initialize seed used by rand() | 720 srand() initialize seed used by rand() |
721 | 721 |
722 Variables: *var-functions* | 722 Variables: *var-functions* |
723 type() type of a variable | 723 type() type of a variable as a number |
724 typename() type of a variable as text | |
724 islocked() check if a variable is locked | 725 islocked() check if a variable is locked |
725 funcref() get a Funcref for a function reference | 726 funcref() get a Funcref for a function reference |
726 function() get a Funcref for a function name | 727 function() get a Funcref for a function name |
727 getbufvar() get a variable value from a specific buffer | 728 getbufvar() get a variable value from a specific buffer |
728 setbufvar() set a variable in a specific buffer | 729 setbufvar() set a variable in a specific buffer |