• Create a new immutable Stack containing the values of the provided collection-like.

    The iteration order of the provided collection is preserved in the resulting Stack.

    Note: Stack is a factory function and not a class, and does not use the new keyword during construction.

    Type Parameters

    • T

    Parameters

    Returns <internal>.Stack<T>

Generated using TypeDoc