Returns true if the collection has no items. Throws if the collection is not initialized.
()
| 343 | |
| 344 | /** Returns true if the collection has no items. Throws if the collection is not initialized. */ |
| 345 | isEmpty(): boolean { |
| 346 | this.checkInitialized(); |
| 347 | return this.count() === 0; |
| 348 | } |
| 349 | |
| 350 | /** Returns whether this collection should be included in serialization based on its populated state. */ |
| 351 | shouldPopulate(populated?: boolean): boolean { |
no test coverage detected