Return the first item on the stack :returns: the first item on the stack. :rtype: a CQ object
(self: T)
| 642 | return out |
| 643 | |
| 644 | def first(self: T) -> T: |
| 645 | """ |
| 646 | Return the first item on the stack |
| 647 | |
| 648 | :returns: the first item on the stack. |
| 649 | :rtype: a CQ object |
| 650 | """ |
| 651 | return self.newObject(self.objects[0:1]) |
| 652 | |
| 653 | def item(self: T, i: int) -> T: |
| 654 | """ |