Selects the first element of this Array if it has one, otherwise returns default.
(self, default=None)
| 884 | return self[0] |
| 885 | |
| 886 | def headOption(self, default=None): |
| 887 | """ |
| 888 | Selects the first element of this Array if it has one, |
| 889 | otherwise returns default. |
| 890 | """ |
| 891 | return self.get(0, default) |
| 892 | |
| 893 | @property |
| 894 | def last(self): |