mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 02:17:19 +00:00
dict, lazy_set: Replace num_items method with size property.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
committed by
Tim Abbott
parent
da633e953e
commit
60fac80c8e
@@ -41,7 +41,7 @@ export class LazySet {
|
||||
this.arr = undefined;
|
||||
}
|
||||
|
||||
num_items() {
|
||||
get size() {
|
||||
if (this.set !== undefined) {
|
||||
return this.set.size;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user