<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://hokutonoken.wiki/en/index.php?action=history&amp;feed=atom&amp;title=Module%3AYesno</id>
	<title>Module:Yesno - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://hokutonoken.wiki/en/index.php?action=history&amp;feed=atom&amp;title=Module%3AYesno"/>
	<link rel="alternate" type="text/html" href="https://hokutonoken.wiki/en/index.php?title=Module:Yesno&amp;action=history"/>
	<updated>2026-06-13T07:16:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://hokutonoken.wiki/en/index.php?title=Module:Yesno&amp;diff=24635&amp;oldid=prev</id>
		<title>New World God: Created page with &quot;-- Used to evaluate args to booleans where applicable -- Based on &lt;https://en.wikipedia.org/wiki/Module:Yesno&gt; -- see page history there for contributors   return function( ar...&quot;</title>
		<link rel="alternate" type="text/html" href="https://hokutonoken.wiki/en/index.php?title=Module:Yesno&amp;diff=24635&amp;oldid=prev"/>
		<updated>2016-09-14T08:58:05Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;-- Used to evaluate args to booleans where applicable -- Based on &amp;lt;https://en.wikipedia.org/wiki/Module:Yesno&amp;gt; -- see page history there for contributors   return function( ar...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- Used to evaluate args to booleans where applicable&lt;br /&gt;
-- Based on &amp;lt;https://en.wikipedia.org/wiki/Module:Yesno&amp;gt;&lt;br /&gt;
-- see page history there for contributors&lt;br /&gt;
 &lt;br /&gt;
return function( arg, default )&lt;br /&gt;
    arg = type( arg ) == &amp;#039;string&amp;#039; and mw.ustring.lower( arg ) or arg&lt;br /&gt;
 &lt;br /&gt;
    if arg == nil or arg == false then&lt;br /&gt;
        return nil&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    if&lt;br /&gt;
        arg == &amp;#039;yes&amp;#039; or&lt;br /&gt;
        arg == &amp;#039;y&amp;#039; or&lt;br /&gt;
        arg == &amp;#039;true&amp;#039; or&lt;br /&gt;
        tonumber( arg ) ==  1&lt;br /&gt;
    then&lt;br /&gt;
        return true&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    if&lt;br /&gt;
        arg == &amp;#039;no&amp;#039; or&lt;br /&gt;
        arg == &amp;#039;n&amp;#039; or&lt;br /&gt;
        arg == &amp;#039;false&amp;#039; or&lt;br /&gt;
        arg == &amp;#039;&amp;#039; or&lt;br /&gt;
        tonumber( arg ) == 0&lt;br /&gt;
    then&lt;br /&gt;
        return false&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    return true&lt;br /&gt;
end&lt;br /&gt;
--[[Category:Lua Modules]]&lt;/div&gt;</summary>
		<author><name>New World God</name></author>
	</entry>
</feed>