db.collection.isCapped()

  • db.collection. isCapped ( )
Returns:Returns true if the collection is a capped collection, otherwise returns false .