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