require "core"

local setting = core.get_setting( setting_id )
if setting ~= nil then
    print( "setting type:" .. setting.valueType )
end