From 8cf50b90d065310df1709c3b567ecfbe3007b07d Mon Sep 17 00:00:00 2001 From: Vanic Date: Wed, 3 Sep 2025 19:05:59 +0000 Subject: [PATCH] Table: remove extra spaces and tabs --- mods/API/Table/init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mods/API/Table/init.lua b/mods/API/Table/init.lua index 9a93e52..5f8c0f3 100644 --- a/mods/API/Table/init.lua +++ b/mods/API/Table/init.lua @@ -63,7 +63,7 @@ end local tableContains = table.contains --- Checks if the table `t` contains the specified key. Returns `true` if the key is found at least once, `false` otherwise. ---- Use when you need to check for key, avoiding metamethods intervention. +--- Use when you need to check for key, avoiding metamethods intervention. --- @param t table | any[] Table to check --- @param key any Value to compare against --- @return boolean @@ -139,7 +139,7 @@ local function mergeInPlace(target, source, recursively) for key, value in pairs(source) do local targetValue = target[key] local valueType = type(value) - + if targetValue == nil then -- Add new key with deep copy if needed target[key] = (valueType == 'table') and tableCopy(value) or value @@ -357,4 +357,4 @@ function table.divide_values(t1, t2, empty_value) return a / b end return operateValues(t1, t2, empty_value or 1, operation) -end +end \ No newline at end of file