UNPKG

projen

Version:

CDK for software projects

14 lines (13 loc) 313 B
/** * Pushes the given item to the stack. * * @param list - a list * @param item - an item */ export declare function push<T>(list: Array<T>, item: T): void; /** * Pops and returns an item from the stack. * * @param list - a list */ export declare function pop<T>(list: Array<T>): NonNullable<T> | null;