If the provided item exceeds the maximum stack item length, apply an error. Otherwise, return the provided state with the item pushed to its stack.
the state to update and return
the value to push to the stack
Generated using TypeDoc
If the provided item exceeds the maximum stack item length, apply an error. Otherwise, return the provided state with the item pushed to its stack.