# 简介

相信大家都有用过 Laravel 的 Collection 函数，但大部分朋友都没有『逐一』看过有哪些函数怎么使用，看过也估计跟看百科全书一样，太难记忆了。

文档的目的是在于帮助大家解析 Laravel 的 Collection 函数怎样分类，有怎样的用途。更好的理解和使用，增加程序的 “优雅度”！

建议配合 Laravel 官方 Collection 文档使用。

* 英文文档：<https://laravel.com/docs/9.x/collections#available-methods>
* 中文文档：<https://learnku.com/docs/laravel/9.x/collections/12225>

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://collection.laradoc.cn/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
