Module:And

From Fire Emblem Heroes Wiki
Jump to: navigation, search
Template-info.svg Documentation

This module implements Template:and. Do not invoke this module directly.

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,
}