underscore/docs/content/collections
Ruidy 3617c2de8f
docs: update Last documentation to reflect panic behavior
Document that Last panics on empty slices with a clear error message.
Add examples for single element and empty slice cases.

Related to Issue 13 (PR #41)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-16 08:51:36 +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: update Last documentation to reflect panic behavior 2025-11-16 08:51:36 +01:00
firstn.md docs: update Last documentation to reflect panic behavior 2025-11-16 08:51:36 +01:00
flatmap.md format docs 2024-09-08 19:11:52 +02:00
foldright.md docs: update Last documentation to reflect panic behavior 2025-11-16 08:51:36 +01:00
groupby.md format docs 2024-09-08 19:11:52 +02:00
init.md docs: update Last documentation to reflect panic behavior 2025-11-16 08:51:36 +01:00
intersection.md format docs 2024-09-08 19:11:52 +02:00
intersperse.md docs: update Last documentation to reflect panic behavior 2025-11-16 08:51:36 +01:00
last.md docs: update Last documentation to reflect panic behavior 2025-11-16 08:51:36 +01: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: update Last documentation to reflect panic behavior 2025-11-16 08:51:36 +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: update Last documentation to reflect panic behavior 2025-11-16 08:51:36 +01:00
scan.md docs: update Last documentation to reflect panic behavior 2025-11-16 08:51:36 +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: update Last documentation to reflect panic behavior 2025-11-16 08:51:36 +01:00
tap.md docs: update Last documentation to reflect panic behavior 2025-11-16 08:51:36 +01:00
transpose.md docs: update Last documentation to reflect panic behavior 2025-11-16 08:51:36 +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: update Last documentation to reflect panic behavior 2025-11-16 08:51:36 +01:00