Text_Diff::isEmpty()
Checks for an empty diff.
Method of the class: Text_Diff{}
No Hooks.
Return
true|false
. True if two sequences were identical.
Usage
$Text_Diff = new Text_Diff(); $Text_Diff->isEmpty();
Text_Diff::isEmpty() Text Diff::isEmpty code WP 6.6.2
function isEmpty() { foreach ($this->_edits as $edit) { if (!is_a($edit, 'Text_Diff_Op_copy')) { return false; } } return true; }