aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/shared.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-10-23 20:15:52 -0400
committerGitHub <noreply@github.com>2025-10-23 20:15:52 -0400
commitc05ff026bc8f4e8a1ee48b19ea384f7feb6e2d79 (patch)
tree3fbedb2862ba9a07caddf988210b360dfe656700 /runtime/lua/vim/shared.lua
parent07d0da64ed51202f0dbd92d43c89aa5f246b175e (diff)
parenta983e6970814962a219566cee635b720ad88c64b (diff)
downloadrneovim-c05ff026bc8f4e8a1ee48b19ea384f7feb6e2d79.tar.gz
rneovim-c05ff026bc8f4e8a1ee48b19ea384f7feb6e2d79.tar.bz2
rneovim-c05ff026bc8f4e8a1ee48b19ea384f7feb6e2d79.zip
Merge #36028 docs
Diffstat (limited to 'runtime/lua/vim/shared.lua')
-rw-r--r--runtime/lua/vim/shared.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/shared.lua b/runtime/lua/vim/shared.lua
index 8c55081050..b4827d0f54 100644
--- a/runtime/lua/vim/shared.lua
+++ b/runtime/lua/vim/shared.lua
@@ -826,7 +826,7 @@ end
---
---@see https://github.com/openresty/luajit2#tableisarray
---
----@param t? table
+---@param t? any
---@return boolean `true` if array-like table, else `false`.
function vim.isarray(t)
if type(t) ~= 'table' then
@@ -1246,7 +1246,7 @@ end
--- Returns true if object `f` can be called as a function.
---
----@param f any Any object
+---@param f? any Any object
---@return boolean `true` if `f` is callable, else `false`
function vim.is_callable(f)
if type(f) == 'function' then