(self: ReadonlyArray<A>)
| 1125 | * @since 2.0.0 |
| 1126 | */ |
| 1127 | export const last = <A>(self: ReadonlyArray<A>): Option.Option<A> => |
| 1128 | isReadonlyArrayNonEmpty(self) ? Option.some(lastNonEmpty(self)) : Option.none() |
| 1129 | |
| 1130 | /** |
| 1131 | * Returns the last element of a `NonEmptyReadonlyArray` directly (no `Option` |
nothing calls this directly
no test coverage detected