* Always inserts at the end * * @returns {Block}
()
| 459 | * @returns {Block} |
| 460 | */ |
| 461 | public insertAtEnd(): Block { |
| 462 | /** |
| 463 | * Define new value for current block index |
| 464 | */ |
| 465 | this.currentBlockIndex = this.blocks.length - 1; |
| 466 | |
| 467 | /** |
| 468 | * Insert the default typed block |
| 469 | */ |
| 470 | return this.insert(); |
| 471 | } |
| 472 | |
| 473 | /** |
| 474 | * Merge two blocks |
no test coverage detected