import {
concreteImmutableQueue,
ImmutableQueueInternal
} from "@tsplus/stdlib/collections/ImmutableQueue/_internal/ImmutableQueueInternal"
/**
* @tsplus static ImmutableQueue.Aspects prepend
* @tsplus pipeable ImmutableQueue prepend
*/
export function prepend(value: A) {
return (self: ImmutableQueue): ImmutableQueue => {
concreteImmutableQueue(self)
return new ImmutableQueueInternal(self.backingList.prepend(value))
}
}