Module:Arguments: Difference between revisions

Jump to navigation Jump to search
check fargs and pargs before writing new values to args if options.noOverwrite is set
(add a more detailed comment about metatable behaviour)
(check fargs and pargs before writing new values to args if options.noOverwrite is set)
Line 88:
 
metatable.__newindex = function (t, key, val)
if not options.readOnly and (not options.noOverwrite or metaArgsargs[key] == nil) then
metaArgs[key] = val
end
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu