diff options
| author | ame <[email protected]> | 2026-06-30 04:30:10 -0500 |
|---|---|---|
| committer | ame <[email protected]> | 2026-06-30 04:30:10 -0500 |
| commit | 7f96376ffdd63397a4265975ec4018c4465094f9 (patch) | |
| tree | 28c1c9fc949f08d6828dc5d86604931bb741a4dc /library | |
| parent | fb6a20845fed68f1fc3bb5722bb1f5f7f9469d95 (diff) | |
table.contains and some check safteystate-copy-changes
Diffstat (limited to 'library')
| -rw-r--r-- | library/lullaby/table.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/library/lullaby/table.lua b/library/lullaby/table.lua index ed6ea6c..b5ee919 100644 --- a/library/lullaby/table.lua +++ b/library/lullaby/table.lua @@ -15,6 +15,12 @@ local table = {} ---@return string[] function table.split(haystack, search, skip) end +---returns the index that N is located at, or nil +---@param t any[] +---@param N any +---@return any +function table.contains(t, N) end + ---compares 2 tables recursivley ---@param A any[] ---@param B any[] |
