Added count query

This commit is contained in:
2021-07-27 11:01:43 +02:00
parent 45733b30ef
commit c60598b3f6
4 changed files with 26 additions and 0 deletions

View File

@@ -20,6 +20,9 @@ class IterableABC(ABC, list):
@abstractmethod
def contains(self, value: object) -> bool: pass
@abstractmethod
def count(self, func: Callable) -> int: pass
@abstractmethod
def first(self) -> any: pass