* Checks whether this chunk is only initial. * @returns {boolean} whether this chunk can only be an initial chunk
()
| 535 | * @returns {boolean} whether this chunk can only be an initial chunk |
| 536 | */ |
| 537 | isOnlyInitial() { |
| 538 | if (this._groups.size <= 0) return false; |
| 539 | for (const chunkGroup of this._groups) { |
| 540 | if (!chunkGroup.isInitial()) return false; |
| 541 | } |
| 542 | return true; |
| 543 | } |
| 544 | |
| 545 | /** |
| 546 | * Gets entry options. |