Modül:DecodeEncode
require('strict')
local p = {}
local function _getBoolean( boolean_str ) -- from: module:String; adapted -- requires an explicit true local boolean_value if type( boolean_str ) == 'string' then boolean_str = boolean_str:lower() if boolean_str 'yes' or boolean_str == '1' then boolean_value = true else boolean_value = false end elseif type( boolean_str ) == 'boolean' then boolean_value = boolean_str else boolean_value = false end return boolean_value
end
function p. decode( frame ) local s = frame. args['s'] or local subset_only = _getBoolean(frame.