Module:languages: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 836: Line 836:


--[==[Given a list of types as strings, returns true if the language has all of them.]==]
--[==[Given a list of types as strings, returns true if the language has all of them.]==]
function Language:hasType(self, ...)
function Language:hasType(...)
local n = select("#", ...)
local n = select("#", ...)
if n == 0 then
if n == 0 then

Navigation menu