<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.frcarchive.com/frcwiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AFunc</id>
	<title>Module:Func - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.frcarchive.com/frcwiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AFunc"/>
	<link rel="alternate" type="text/html" href="https://www.frcarchive.com/frcwiki/index.php?title=Module:Func&amp;action=history"/>
	<updated>2026-05-12T19:40:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://www.frcarchive.com/frcwiki/index.php?title=Module:Func&amp;diff=1048&amp;oldid=prev</id>
		<title>Fallinsideahole: 2 revisions imported</title>
		<link rel="alternate" type="text/html" href="https://www.frcarchive.com/frcwiki/index.php?title=Module:Func&amp;diff=1048&amp;oldid=prev"/>
		<updated>2026-01-01T16:24:20Z</updated>

		<summary type="html">&lt;p&gt;2 revisions imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:24, 1 January 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Fallinsideahole</name></author>
	</entry>
	<entry>
		<id>https://www.frcarchive.com/frcwiki/index.php?title=Module:Func&amp;diff=1047&amp;oldid=prev</id>
		<title>Fallinsideahole: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://www.frcarchive.com/frcwiki/index.php?title=Module:Func&amp;diff=1047&amp;oldid=prev"/>
		<updated>2023-05-17T20:43:53Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:43, 17 May 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Fallinsideahole</name></author>
	</entry>
	<entry>
		<id>https://www.frcarchive.com/frcwiki/index.php?title=Module:Func&amp;diff=1046&amp;oldid=prev</id>
		<title>mediawiki&gt;WOSlinker: remove no globals link</title>
		<link rel="alternate" type="text/html" href="https://www.frcarchive.com/frcwiki/index.php?title=Module:Func&amp;diff=1046&amp;oldid=prev"/>
		<updated>2022-10-23T14:56:21Z</updated>

		<summary type="html">&lt;p&gt;remove no globals link&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;--------------------------------------------------------------------------------&lt;br /&gt;
-- This module provies helper functions for manipulating Lua functions.&lt;br /&gt;
--&lt;br /&gt;
-- @module func&lt;br /&gt;
-- @alias  p&lt;br /&gt;
-- @author ExE Boss&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
require(&amp;quot;strict&amp;quot;);&lt;br /&gt;
local checkTypeMulti = require(&amp;quot;libraryUtil&amp;quot;).checkTypeMulti;&lt;br /&gt;
&lt;br /&gt;
local p = {};&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
-- Creates a bound function that calls `func` with the varargs passed to `bind`&lt;br /&gt;
-- preceding the varargs passed to the newly created bound function.&lt;br /&gt;
--&lt;br /&gt;
-- @param {function} func&lt;br /&gt;
-- @param {any} ...&lt;br /&gt;
-- @return {function}&lt;br /&gt;
-- @see https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function/bind&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
function p.bind(func, ...)&lt;br /&gt;
	checkTypeMulti(&amp;quot;bind&amp;quot;, 1, func, { &amp;quot;table&amp;quot;, &amp;quot;function&amp;quot; });&lt;br /&gt;
&lt;br /&gt;
	local len = select(&amp;quot;#&amp;quot;, ...);&lt;br /&gt;
	local args = {...};&lt;br /&gt;
&lt;br /&gt;
	return function(...)&lt;br /&gt;
		return func(unpack(args, 1, len), ...);&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p;&lt;/div&gt;</summary>
		<author><name>mediawiki&gt;WOSlinker</name></author>
	</entry>
</feed>