Skip to content

Stack_Peek

manuel villagran edited this page Oct 3, 2019 · 1 revision

Stack_Peek

Stack_Peek(Stack:stack)

Returns the element at the top of the stack but doesn't remove it from the stack.

parameters

  • Stack:stack .

returns

  • 0 If there are no elements in the stack.
  • The element at the top of the stack.

notes

Clone this wiki locally