Module:head: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 48: Line 48:


local function format_inflections(data)
local function format_inflections(data)
if ((not data.inflections) or (not data.labels)) or (#data.inflections < 1 or #data.labels < 1) then return nil end
if ((not data.inflections) and (not data.labels)) or (#data.inflections < 1 and #data.labels < 1) then return nil end
local out = {}
local out = {}
for _, inflection in pairs(data.inflections) do
for _, inflection in pairs(data.inflections) do

Navigation menu