int LuaDomElement2::isText(lua_State *L) { DomElement* obj = DomElementValue::check2( L, 1 ); lua_pushboolean(L, obj->isText() ); return 1; }