(self: ReadonlyArray<A>)
| 1188 | * @since 2.0.0 |
| 1189 | */ |
| 1190 | export const last = <A>(self: ReadonlyArray<A>): Option.Option<A> => |
| 1191 | isReadonlyArrayNonEmpty(self) ? Option.some(lastNonEmpty(self)) : Option.none() |
| 1192 | |
| 1193 | /** |
| 1194 | * Returns the last element of a `NonEmptyReadonlyArray` directly (no `Option` |
nothing calls this directly
no test coverage detected