Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsIterator ¶
IsIterator returns whether stackitem implements iterator interface.
func Value ¶
Value returns current iterator value and depends on iterator type: For slices the result is just value. For maps the result is key-value pair packed in a struct.
func Values ¶
Values returns an array of up to `max` iterator values. The provided iterator can safely be reused to retrieve the rest of its values in the subsequent calls to Values and to ValuesTruncated.
func ValuesTruncated ¶
ValuesTruncated returns an array of up to `max` iterator values. The second return parameter denotes whether iterator is truncated, i.e. has more values. The provided iterator CAN NOT be reused in the subsequent calls to Values and to ValuesTruncated.
Types ¶
This section is empty.