summaryrefslogtreecommitdiff
path: root/meta/3rd/OpenResty/library/table/isarray.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/3rd/OpenResty/library/table/isarray.lua')
m---------meta/3rd/OpenResty0
-rw-r--r--meta/3rd/OpenResty/library/table/isarray.lua23
2 files changed, 0 insertions, 23 deletions
diff --git a/meta/3rd/OpenResty b/meta/3rd/OpenResty
new file mode 160000
+Subproject 3bec36f0f645bb38b3c8208990d5c36feb66ce3
diff --git a/meta/3rd/OpenResty/library/table/isarray.lua b/meta/3rd/OpenResty/library/table/isarray.lua
deleted file mode 100644
index f2ee3c72..00000000
--- a/meta/3rd/OpenResty/library/table/isarray.lua
+++ /dev/null
@@ -1,23 +0,0 @@
----@meta
-
---- Returns `true` when the given Lua table is a pure array-like Lua table, or
---- `false` otherwise.
----
---- Empty Lua tables are treated as arrays.
----
---- This API can be JIT compiled.
----
---- Usage:
----
---- ```lua
---- local isarray = require "table.isarray"
----
---- print(isarray{"a", true, 3.14}) -- true
---- print(isarray{dog = 3}) -- false
---- print(isarray{}) -- true
---- ```
----@param t table
----@return boolean
-local function isarray(t) end
-
-return isarray