import { concreteChunkId } from "@tsplus/stdlib/collections/Chunk/definition"
/**
* Returns every elements after the first.
*
* @tsplus getter Chunk tail
*/
export function tail(self: Chunk): Maybe> {
return concreteChunkId(self).length > 0 ? Maybe.some(self.drop(1)) : Maybe.none
}