underscore/docs/content/collections
Ruidy bcb4dd1e9d
docs: add documentation for new collection functions
Add comprehensive documentation for all new functions:
- TakeWhile: take elements while predicate is true
- DropWhile: drop elements while predicate is true
- Scan: running accumulator (prefix scan)
- First/FirstN: get first element(s) safely
- Init: all but last element
- Intersperse: insert separator between elements
- Sliding: sliding window views
- FoldRight: right-to-left fold/reduce
- Tap: side effects without mutation
- Transpose: flip matrix rows/columns
- Unzip: split tuples into separate slices
- ParallelReduce: parallel reduction (experimental)
- Replicate: create n copies of a value

Each doc includes:
- Clear description
- Code examples with output
- Common use cases
- Edge case handling

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-16 08:48:38 +01:00
..
all.md format docs 2024-09-08 19:11:52 +02:00
any.md format docs 2024-09-08 19:11:52 +02:00
chunk.md feat: add Chunk, ContainsBy, UniqueBy, ParallelMap, map helpers 2025-09-01 18:03:38 -04:00
contains.md format docs 2024-09-08 19:11:52 +02:00
containsby.md feat: add Chunk, ContainsBy, UniqueBy, ParallelMap, map helpers 2025-09-01 18:03:38 -04:00
difference.md format docs 2024-09-08 19:11:52 +02:00
drop.md format docs 2024-09-08 19:11:52 +02:00
dropwhile.md docs: add documentation for new collection functions 2025-11-16 08:48:38 +01:00
each.md format docs 2024-09-08 19:11:52 +02:00
filter.md format docs 2024-09-08 19:11:52 +02:00
find.md format docs 2024-09-08 19:11:52 +02:00
first.md docs: add documentation for new collection functions 2025-11-16 08:48:38 +01:00
firstn.md docs: add documentation for new collection functions 2025-11-16 08:48:38 +01:00
flatmap.md format docs 2024-09-08 19:11:52 +02:00
foldright.md docs: add documentation for new collection functions 2025-11-16 08:48:38 +01:00
groupby.md format docs 2024-09-08 19:11:52 +02:00
init.md docs: add documentation for new collection functions 2025-11-16 08:48:38 +01:00
intersection.md format docs 2024-09-08 19:11:52 +02:00
intersperse.md docs: add documentation for new collection functions 2025-11-16 08:48:38 +01:00
last.md format docs 2024-09-08 19:11:52 +02:00
map.md feat: add Chunk, ContainsBy, UniqueBy, ParallelMap, map helpers 2025-09-01 18:03:38 -04:00
max.md format docs 2024-09-08 19:11:52 +02:00
min.md format docs 2024-09-08 19:11:52 +02:00
parallel_filter.md feat: add ParallelFilter and UniqueInPlace functions 2025-09-01 18:16:59 -04:00
parallel_map.md feat: add Chunk, ContainsBy, UniqueBy, ParallelMap, map helpers 2025-09-01 18:03:38 -04:00
parallel_reduce.md docs: add documentation for new collection functions 2025-11-16 08:48:38 +01:00
partition.md format docs 2024-09-08 19:11:52 +02:00
reduce.md format docs 2024-09-08 19:11:52 +02:00
replicate.md docs: add documentation for new collection functions 2025-11-16 08:48:38 +01:00
scan.md docs: add documentation for new collection functions 2025-11-16 08:48:38 +01:00
sliding.md docs: add documentation for new collection functions 2025-11-16 08:48:38 +01:00
sum.md format docs 2024-09-08 19:11:52 +02:00
takewhile.md docs: add documentation for new collection functions 2025-11-16 08:48:38 +01:00
tap.md docs: add documentation for new collection functions 2025-11-16 08:48:38 +01:00
transpose.md docs: add documentation for new collection functions 2025-11-16 08:48:38 +01:00
unique.md format docs 2024-09-08 19:11:52 +02:00
unique_by.md feat: add Chunk, ContainsBy, UniqueBy, ParallelMap, map helpers 2025-09-01 18:03:38 -04:00
unique_in_place.md feat: add ParallelFilter and UniqueInPlace functions 2025-09-01 18:16:59 -04:00
unzip.md docs: add documentation for new collection functions 2025-11-16 08:48:38 +01:00