A stack data structure.

interface Stack {
    back?(options?): MaybePromise<undefined | T>;
    pop(options?): MaybePromise<undefined | T>;
    push(item, options?): unknown;
}

Type Parameters

  • T

Hierarchy

Methods

Methods

Generated using TypeDoc