<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://theblockheads.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AProcessArgs%2Fdoc</id>
	<title>Module:ProcessArgs/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://theblockheads.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AProcessArgs%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://theblockheads.wiki/index.php?title=Module:ProcessArgs/doc&amp;action=history"/>
	<updated>2026-04-12T13:38:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://theblockheads.wiki/index.php?title=Module:ProcessArgs/doc&amp;diff=25247&amp;oldid=prev</id>
		<title>JarlPenguin: Created page with &quot;{{documentation header}} &lt;!-- Documentation here --&gt; This module allows arguments to be merged and normalised. This also has the side-effect of making the arguments a real table instead of an empty table with a metatable to access the args. This allows the &lt;code&gt;#&lt;/code&gt; operator to work, as well as allowing new values to be added to the table, without being ignored when iterating.  The &lt;code&gt;norm&lt;/code&gt; function will normalise the arguments passed to it, trimming whites...&quot;</title>
		<link rel="alternate" type="text/html" href="https://theblockheads.wiki/index.php?title=Module:ProcessArgs/doc&amp;diff=25247&amp;oldid=prev"/>
		<updated>2024-08-07T07:26:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{documentation header}} &amp;lt;!-- Documentation here --&amp;gt; This module allows arguments to be merged and normalised. This also has the side-effect of making the arguments a real table instead of an empty table with a metatable to access the args. This allows the &amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt; operator to work, as well as allowing new values to be added to the table, without being ignored when iterating.  The &amp;lt;code&amp;gt;norm&amp;lt;/code&amp;gt; function will normalise the arguments passed to it, trimming whites...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{documentation header}}&lt;br /&gt;
&amp;lt;!-- Documentation here --&amp;gt;&lt;br /&gt;
This module allows arguments to be merged and normalised. This also has the side-effect of making the arguments a real table instead of an empty table with a metatable to access the args. This allows the &amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt; operator to work, as well as allowing new values to be added to the table, without being ignored when iterating.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;norm&amp;lt;/code&amp;gt; function will normalise the arguments passed to it, trimming whitespace and setting empty arguments to &amp;lt;code&amp;gt;nil&amp;lt;/code&amp;gt;. If a table isn&amp;#039;t passed to the function, it will automatically get the current frame&amp;#039;s parent arguments table.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;merge&amp;lt;/code&amp;gt; function will merge two tables together, overwriting duplicate values from the first table with the second table&amp;#039;s value, as well as doing the same as the &amp;lt;code&amp;gt;norm&amp;lt;/code&amp;gt; function if the norm parameter is &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt;.&lt;br /&gt;
If the first parameter isn&amp;#039;t a table, it is used as the value for the norm parameter, and it will automatically get the current frame&amp;#039;s directly passed arguments table and merge it with the current frame&amp;#039;s parent arguments table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- Template categories/interwiki here --&amp;gt;&lt;br /&gt;
[[Category:Meta modules]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- Documentation categories/interwiki here --&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>JarlPenguin</name></author>
	</entry>
</feed>