Return the length of the stack.
()
| 181 | |
| 182 | /** Return the length of the stack. */ |
| 183 | length() { |
| 184 | return this._elements.length; |
| 185 | } |
| 186 | |
| 187 | /** Get the top most element on the stack. */ |
| 188 | peek(): MenuStackItem | undefined { |
no outgoing calls
no test coverage detected