iterator

package
v0.94.1-pre Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(ic *interop.Context) error

Create creates an iterator from array-like or map stack item.

func Next added in v0.93.0

func Next(ic *interop.Context) error

Next advances the iterator, pushes true on success and false otherwise.

func Value added in v0.93.0

func Value(ic *interop.Context) error

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL