Documentation ¶
Index ¶
- type IterWrapper
- func (it *IterWrapper) Concat(other types.Iterator) *IterWrapper
- func (it *IterWrapper) Enumerate() *IterWrapper
- func (it *IterWrapper) Filter(fn func(any) bool) *IterWrapper
- func (it *IterWrapper) ForEach(fn func(any))
- func (it *IterWrapper) Inspect(fn func(any)) *IterWrapper
- func (it *IterWrapper) Intersperse(separator any) *IterWrapper
- func (it *IterWrapper) IntersperseWith(separator func() any) *IterWrapper
- func (it *IterWrapper) Map(fn func(any) any) *IterWrapper
- func (it *IterWrapper) Next() (any, bool)
- func (it *IterWrapper) Reduce(base any, fn func(any, any) any) any
- func (it *IterWrapper) Scan(base any, fn func(any, any) any) *IterWrapper
- func (it *IterWrapper) StepBy(step uint) *IterWrapper
- func (it *IterWrapper) Take(count int) *IterWrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IterWrapper ¶
type IterWrapper struct {
// contains filtered or unexported fields
}
func EmptyWrapper ¶
func EmptyWrapper() *IterWrapper
func FromArray ¶
func FromArray(array any) *IterWrapper
func FromMap ¶
func FromMap(m any) *IterWrapper
func WrapIterator ¶
func WrapIterator(iter types.Iterator) *IterWrapper
func (*IterWrapper) Concat ¶
func (it *IterWrapper) Concat(other types.Iterator) *IterWrapper
func (*IterWrapper) Enumerate ¶
func (it *IterWrapper) Enumerate() *IterWrapper
func (*IterWrapper) Filter ¶
func (it *IterWrapper) Filter(fn func(any) bool) *IterWrapper
func (*IterWrapper) ForEach ¶
func (it *IterWrapper) ForEach(fn func(any))
func (*IterWrapper) Inspect ¶
func (it *IterWrapper) Inspect(fn func(any)) *IterWrapper
func (*IterWrapper) Intersperse ¶
func (it *IterWrapper) Intersperse(separator any) *IterWrapper
func (*IterWrapper) IntersperseWith ¶
func (it *IterWrapper) IntersperseWith(separator func() any) *IterWrapper
func (*IterWrapper) Map ¶
func (it *IterWrapper) Map(fn func(any) any) *IterWrapper
func (*IterWrapper) Next ¶
func (it *IterWrapper) Next() (any, bool)
func (*IterWrapper) Scan ¶
func (it *IterWrapper) Scan(base any, fn func(any, any) any) *IterWrapper
func (*IterWrapper) StepBy ¶
func (it *IterWrapper) StepBy(step uint) *IterWrapper
func (*IterWrapper) Take ¶
func (it *IterWrapper) Take(count int) *IterWrapper
Click to show internal directories.
Click to hide internal directories.