Parameterstbl - table - The Table to check
value - string/table - The Value/s to check
Returnscontains - boolean - Whether the value contains in the table
local tbl = {'value_1', 'value_2'}-- Checks if the value contains in the tablelocal contains = MSK.Table.Contains(tbl, 'value_1')-- Checks if one of the values contains in the tablelocal contains = MSK.Table.Contains(tbl, {'value_1', 'value_5'})-- As an Export:local contains = exports.msk_core:TableConatins(tbl, value)
MSK.Table.Dump
Dumps the given table to a readable string with a tree structure.
Parameterstbl - table - The Table that should be dumped
Returnstext - string - The formatted text of the given table