This module implements Template:and. Do not invoke this module directly.
The above documentation is transcluded from Module:And/doc. (edit | history)
return {
main = function (frame)
local z = nil
for _, v in ipairs(frame:getParent().args) do
z = mw.text.trim(v, '%s')
if z == '' then
break
end
end
return z
end,
}