()
| 1009 | return this.intro + body; |
| 1010 | } |
| 1011 | isEmpty() { |
| 1012 | if (this.intro.length && this.intro.trim()) return false; |
| 1013 | if (this.sources.some((source) => !source.content.isEmpty())) return false; |
| 1014 | return true; |
| 1015 | } |
| 1016 | length() { |
| 1017 | return this.sources.reduce( |
| 1018 | (length, source) => length + source.content.length(), |