(self: Iterable<A>)
| 1178 | * @since 2.0.0 |
| 1179 | */ |
| 1180 | export function tail<A>(self: Iterable<A>): Option.Option<Array<A>> { |
| 1181 | const as = fromIterable(self) |
| 1182 | return isReadonlyArrayNonEmpty(as) ? Option.some(tailNonEmpty(as)) : Option.none() |
| 1183 | } |
| 1184 | |
| 1185 | /** |
| 1186 | * Returns all elements except the first of a `NonEmptyReadonlyArray`. |
nothing calls this directly
no test coverage detected