public static LuaNumberType LuaLOpt(LuaState L, LuaLOptDelegate f, int n, LuaNumberType d) { return(LuaIsNoneOrNil(L, n) ? d : f(L, (n))); }
public static LuaNumberType LuaLOpt(LuaState L, LuaLOptDelegate f, int n, LuaNumberType d) { return LuaIsNoneOrNil(L, (n != 0) ? d : f(L, n)) ? 1 : 0;}