Determine if a Worker Function is a Closure
This is a heuristic function that is used by
eachElem to guess if the worker function is a closure.
closure option wasn't specified via the
eo argument to
eachElem, then this function is used to guess if
the worker function is a closure. It can be very useful to use
eachElem, but if not used properly,
you could accidentally include a lot of unnecessary data in the tasks,
thus hurting your performance.
This function is included as a development tool so you can manually
test your worker functions. This could be useful if you are getting
a warning from
eachElem, and are trying to determine
how to modify the function or set the
1 2 3 4 5 6
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.