(self: Iterable<A>)
| 1243 | * @since 2.0.0 |
| 1244 | */ |
| 1245 | export function tail<A>(self: Iterable<A>): Option.Option<Array<A>> { |
| 1246 | const as = fromIterable(self) |
| 1247 | return isReadonlyArrayNonEmpty(as) ? Option.some(tailNonEmpty(as)) : Option.none() |
| 1248 | } |
| 1249 | |
| 1250 | /** |
| 1251 | * Returns all elements except the first of a `NonEmptyReadonlyArray`. |
nothing calls this directly
no test coverage detected