Versions in this module Expand all Collapse all v1 v1.5.1 Sep 14, 2024 v1.5.0 Sep 11, 2024 Changes in this version + var ErrNotAnArray = errors.New("The given value must be an Array") + var ErrNotImplemented = errors.New("Browser not implemented Array") + func GetInterface() js.Value + func IsArray(bobj baseobject.BaseObject) (bool, error) + type Array struct + func From(iterable interface{}, f ...func(interface{}) interface{}) (Array, error) + func From_(iterable interface{}, f ...func(interface{}) interface{}) Array + func New(values ...interface{}) (Array, error) + func NewEmpty(size int) (Array, error) + func NewEmpty_(size int) Array + func NewFromJSObject(obj js.Value) (Array, error) + func NewFromJSObject_(obj js.Value) Array + func New_(values ...interface{}) Array + func Of(values ...interface{}) (Array, error) + func Of_(values ...interface{}) Array + func (a Array) Array_() Array + func (a Array) Concat(a2 Array) (Array, error) + func (a Array) Concat_(a2 Array) Array + func (a Array) CopyWithin(cible int, opts ...int) (Array, error) + func (a Array) CopyWithin_(cible int, opts ...int) Array + func (a Array) Entries() (iterator.Iterator, error) + func (a Array) Every(f func(interface{}) bool) (bool, error) + func (a Array) Fill(i interface{}, opts ...int) error + func (a Array) Filter(f func(interface{}) bool) (Array, error) + func (a Array) Filter_(f func(interface{}) bool) Array + func (a Array) Find(f func(interface{}) bool) (interface{}, error) + func (a Array) FindIndex(f func(interface{}) bool) (int, error) + func (a Array) Flat(opts ...int) (Array, error) + func (a Array) FlatMap(f func(interface{}, int) interface{}) (Array, error) + func (a Array) FlatMap_(f func(interface{}, int) interface{}) Array + func (a Array) Flat_(opts ...int) Array + func (a Array) ForEach(f func(interface{})) error + func (a Array) GetValue(index int) (interface{}, error) + func (a Array) Includes(i interface{}) (bool, error) + func (a Array) IndexOf(i interface{}) (int, error) + func (a Array) Join(separator string) (string, error) + func (a Array) Keys() (iterator.Iterator, error) + func (a Array) LastIndexOf(i interface{}) (int, error) + func (a Array) Length() (int, error) + func (a Array) Map(f func(interface{}) interface{}) (Array, error) + func (a Array) Map_(f func(interface{}) interface{}) Array + func (a Array) Pop() error + func (a Array) Push(i interface{}) (int, error) + func (a Array) Reduce(...) (interface{}, error) + func (a Array) ReduceRight(...) (interface{}, error) + func (a Array) Reverse() error + func (a Array) SetValue(index int, i interface{}) error + func (a Array) Shift() (interface{}, error) + func (a Array) Slice(opts ...int) (Array, error) + func (a Array) Slice_(opts ...int) Array + func (a Array) Some(f func(interface{}) bool) (bool, error) + func (a Array) Sort() error + func (a Array) Splice(begin, suppress int, values ...interface{}) error + func (a Array) ToLocaleString() (string, error) + func (a Array) Unshift(values ...interface{}) (int, error) + func (a Array) Values() (iterator.Iterator, error) + type ArrayFrom interface + Array_ func() Array