isEmpty(str)
Returns
true
nil
""
Examples
isEmpty(nil)
isEmpty("")
isEmpty(" ")
false
local function isEmpty(str) return str == nil or str == "" end return isEmpty