Add all the items to the end of a list
(self, item: Union[list, tuple])
| 147 | self._operations.append(_operation("Reverse", self._location)) |
| 148 | |
| 149 | def extend(self, item: Union[list, tuple]) -> None: |
| 150 | """Add all the items to the end of a list""" |
| 151 | if not isinstance(item, (list, tuple)): |
| 152 | raise TypeError(f"{item} should be a list or tuple") |
| 153 | self._operations.append(_operation("Extend", self._location, value=item)) |
| 154 | |
| 155 | def remove(self, item: Any) -> None: |
| 156 | """filter the item out of a list on the frontend""" |