Function cloneQueue

  • Creates a deep copy of a queue.

    Returns

    The clone.

    Type Parameters

    • T

      Type of the elements of the queue to clone.

    Parameters

    • queue: IQueue<T>

      The queue to clone.

    Returns IQueue<T>

Generated using TypeDoc