Skip to content Search Apps Documentation Source Content File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

stack/v0 package

Overview

Package stack is an educational data-structure playground that keeps BOTH a LIFO stack and a FIFO queue of ints, so you can compare how the two behave.

Function

StackSize

func StackSize() int
Ask AI Claude ChatGPT

StackSize returns the number of elements in the LIFO stack.

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1magld5ptgzaktqcexxq0pgq5lmdf0kz6re8hlv/x/daily/stack/v0.StackSize()"

Result