Module:deva-last-char-type

Hello, you have come here looking for the meaning of the word Module:deva-last-char-type. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:deva-last-char-type, but we will also tell you about its etymology, its characteristics and you will know how to say Module:deva-last-char-type in singular and plural. Everything you need to know about the word Module:deva-last-char-type you have here. The definition of the word Module:deva-last-char-type will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:deva-last-char-type, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.


local p = {}
function p.check(text)
	t =  text.args.text
	local length = string.len(t)
	local last = string.sub(t, -3, -1)
	if length > 2 then
		local vowels = {"ि", "ी", "ॖ", "ॗ", "ु", "ू", "ॆ", "े", "ऺ", "ऻ", "ॊ","ो", "ॏ", "ा", "ै", "ौ", "ृ", "ं", "्", "ँ", "ॶ", "ॷ", "इ", "ई", "उ", "ऊ", "ऎ", "ए", "ॳ", "ॴ", "ऒ", "ओ", "ॵ", "अ", "आ", "ऐ", "औ"}
		for index, value in ipairs(vowels) do
	        if value == last then
	        	return "vowel"
	        end
		end
	    return "cons"
	end
	error("Invalid sting")
end
return p