GetInTable - EdgeIY/infiniteyield GitHub Wiki

Documentation

any GetInTable(<table> t, <any> value)

Description

Returns the index of a value in a table. Returns the index if the value is found and false if the value is not found. Keep in mind that this function only works with sorted tables.

Example

--Note: This is just a snippet
["Function"] = function(args,speaker) 
  print(GetInTable(getPlayer(args[1]),"ROBLOX")) --> false
end
⚠️ **GitHub.com Fallback** ⚠️