Text_Diff::isEmpty() public WP 1.0
Checks for an empty diff.
{} It's a 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();
Code of Text_Diff::isEmpty() Text Diff::isEmpty WP 5.6
function isEmpty()
{
foreach ($this->_edits as $edit) {
if (!is_a($edit, 'Text_Diff_Op_copy')) {
return false;
}
}
return true;
}