Class Stack<C>

Type Parameters

  • C = any

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

Properties

length: number = 0

Methods

  • Parameters

    • Optional context: C
    • depth: number = 0

    Returns any

  • Parameters

    • condition: ((context) => boolean)
        • (context): boolean
        • Parameters

          • context: C

          Returns boolean

    • stack: Stack<C>

    Returns Stack<C>