Module:Belarusian

Documentation for this module may be created at Module:Belarusian/doc

-- Some sandboxing for Belarusian

local t = {}

require "mw.ustring"

function t.isStartingVowel( input )
    vowels = { "а", "е", "ё", "і", "о", "у", "э", "ю", "я" }
    chr = mw.ustring.sub( input.args[1], 0, 1 )
    for _,i in pairs( vowels ) do
        if i == chr then
            return "yes"
        end
    end
end

return t