Added last query
This commit is contained in:
@@ -32,6 +32,12 @@ class IterableABC(ABC, list):
|
||||
@abstractmethod
|
||||
def element_at_or_default(self, index: int) -> Optional[any]: pass
|
||||
|
||||
@abstractmethod
|
||||
def last(self) -> any: pass
|
||||
|
||||
@abstractmethod
|
||||
def last_or_default(self) -> any: pass
|
||||
|
||||
@abstractmethod
|
||||
def first(self) -> any: pass
|
||||
|
||||
|
Reference in New Issue
Block a user