An AQL function will normally consume one or more other items from the stack as parameters and will optionally write one or more items back onto the stack as output.
For example, the ASSET function consumes a CONSTLIST off the stack, and returns a ASSETLIST.