Modhul:Yesno: Béda antarané révisi
Konten dihapus Konten ditambahkan
Gawé kaca sing isi '-- Function allowing for consistent treatment of boolean-like wikitext input. -- It works similarly to the template {{yesno}}. return function (val, default) val = type(...' |
Tanpa ringkesan besutan Tenger: Dibalèkaké |
||
Larik 2:
-- It works similarly to the template {{yesno}}.
return function (val, default)
val = type(val) == 'string' and
if val == nil then
return nil
|