Skip to content

Commit a43a44f

Browse files
committed
Add isEmpty to AbstractMmlEmptyNode
1 parent 94d8736 commit a43a44f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

ts/core/MmlTree/MmlNode.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1251,6 +1251,13 @@ export abstract class AbstractMmlEmptyNode
12511251
return false;
12521252
}
12531253

1254+
/**
1255+
* @returns {boolean} Is empty
1256+
*/
1257+
public get isEmpty(): boolean {
1258+
return true;
1259+
}
1260+
12541261
/**
12551262
* @returns {boolean} Not embellished
12561263
*/

0 commit comments

Comments
 (0)