> For the complete documentation index, see [llms.txt](https://docs.mongoing.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mongoing.com/can-kao/mongo-shell-methods/collection-methods/db-collection-iscapped.md).

# db.collection.isCapped()

* `db.collection.` `isCapped` ()

|     |                                 |
| --- | ------------------------------- |
| 返回： | 如果集合是上限集合则返回`true`，否则返回`false`。 |

> **也可以看看**
>
> 上限集合

译者：李冠飞

校对：
