<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://linguifex.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3Atable%2Fcontains</id>
	<title>Module:table/contains - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://linguifex.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3Atable%2Fcontains"/>
	<link rel="alternate" type="text/html" href="https://linguifex.com/w/index.php?title=Module:table/contains&amp;action=history"/>
	<updated>2026-04-03T22:12:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://linguifex.com/w/index.php?title=Module:table/contains&amp;diff=488016&amp;oldid=prev</id>
		<title>Sware: Created page with &quot;local table_find_module = &quot;Module:table/find&quot;  local function table_find(...) 	table_find = require(table_find_module) 	return table_find(...) end  --[==[ Given a list and a value to be found, returns {true} if the value is in the array portion of the list, or {false} if not.  `options` is an optional table of additional options to control the behavior of the operation. The following options are recognized: * `comparison`: Function of two arguments to compare whether `it...&quot;</title>
		<link rel="alternate" type="text/html" href="https://linguifex.com/w/index.php?title=Module:table/contains&amp;diff=488016&amp;oldid=prev"/>
		<updated>2026-02-16T18:16:27Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;local table_find_module = &amp;quot;Module:table/find&amp;quot;  local function table_find(...) 	table_find = require(table_find_module) 	return table_find(...) end  --[==[ Given a list and a value to be found, returns {true} if the value is in the array portion of the list, or {false} if not.  `options` is an optional table of additional options to control the behavior of the operation. The following options are recognized: * `comparison`: Function of two arguments to compare whether `it...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local table_find_module = &amp;quot;Module:table/find&amp;quot;&lt;br /&gt;
&lt;br /&gt;
local function table_find(...)&lt;br /&gt;
	table_find = require(table_find_module)&lt;br /&gt;
	return table_find(...)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[==[&lt;br /&gt;
Given a list and a value to be found, returns {true} if the value is in the array portion of the list, or {false} if not.&lt;br /&gt;
&lt;br /&gt;
`options` is an optional table of additional options to control the behavior of the operation. The following options are recognized:&lt;br /&gt;
* `comparison`: Function of two arguments to compare whether `item` is equal to an existing item in `list`. If unspecified, items are considered equal if either the standard equality operator {==} or {deepEquals} return {true}. As a special case, if the string value {&amp;quot;==&amp;quot;} is specified, then the standard equality operator alone will be used.&lt;br /&gt;
* `key`: Function of one argument to return a comparison key, which will be used with the comparison function. The key function is applied to both `item` and the existing item in `list` to compare against, and the comparison is done against the results.]==]&lt;br /&gt;
return function(...)&lt;br /&gt;
	return table_find(...) and true or false&lt;br /&gt;
end&lt;/div&gt;</summary>
		<author><name>Sware</name></author>
	</entry>
</feed>