Properties
Count
Count: number
Methods
Clear
- Clear(): void
-
Returns void
Contains
- Contains(item: T): boolean
-
Returns boolean
Peek
- Peek(): undefined | T
-
Returns undefined | T
Pop
- Pop(): undefined | T
-
Returns undefined | T
Push
- Push(item: T): void
-
Returns void
ToArray
- ToArray(): T[]
-
Returns T[]
Gets the number of elements contained in the stack.