title: How to check for boolean argument in lua function
body: <p>To get integer arguments into from the script into my C code, I can use <code>luaL_checknumber()</code>, but there is no function called <code>luaL_checkboolean()</code> that would allow me to get <code>bool</code> arguments. Is there any workaround for this?</p>