@oazmi/kitchensink - v0.9.13
    Preparing search index...

    Interface GenericStack<T>

    type definition for a generic stack data structure, that is aware of its size.

    interface GenericStack<T> {
        length: number;
        push: (...items: T[]) => any;
        pop: () => undefined | T;
    }

    Type Parameters

    • T
    Index

    Properties

    Properties

    length: number
    push: (...items: T[]) => any
    pop: () => undefined | T