Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 511 Bytes

_.collections.walk.js.md

File metadata and controls

15 lines (11 loc) · 511 Bytes

collections.walk

Functions to recursively walk collections which are trees.

Documentation should use Journo formats and standards.

  _.walk = walk;
  postorder: function(obj, visitor, context)
  preorder: function(obj, visitor, context)
  walk(obj, visitor, null, context)
  map: function(obj, strategy, visitor, context)
  pluck: function(obj, propertyName)
  pluckRec: function(obj, propertyName)
  _.walk.collect = _.walk.map;