Class Stack<C>

Type Parameters

  • C = any

Hierarchy

Constructors

Properties

Methods

Constructors

  • Type Parameters

    • C = any

    Returns Stack<C>

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>

Generated using TypeDoc