binder {injectoR} | R Documentation |
Binder factory
binder(parent = .binder, callback = function(binder) binder)
parent |
of the new binder, injection will propagate up the parent stack looking for keys; if omitted defaults to root binder |
callback |
called with the newly created binder and the result is returned; if omitted just the new binder is returned |
result of the injected callback if one is specified, otherwise the new binder
b <- binder ()