each(functor,master)

executes a method for each element of an array

Parameters

  • functor - method that needs being executed
    • function
  • master - the object that the method needs being applied (optional)
    • object

Returns

method doesn't return any data