We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aeed58c commit 3d51640Copy full SHA for 3d51640
src/Task/ListItem.ts
@@ -49,6 +49,15 @@ export class ListItem {
49
return this.parent === null;
50
}
51
52
+ /**
53
+ * Compare all the fields in another ListItem, to detect any differences from this one.
54
+ *
55
+ * If any field is different in any way, it will return false.
56
57
+ * @note Use {@link Task.identicalTo} to compare {@link Task} objects.
58
59
+ * @param other - if this is in fact a {@link Task}, the result of false.
60
+ */
61
identicalTo(other: ListItem) {
62
if (this.constructor.name !== other.constructor.name) {
63
return false;
0 commit comments