type IList
interface 1type IList interface {
2 Len() int
3 Append(values ...any)
4 Get(index int) (any, bool)
5 Set(index int, value any) bool
6 Delete(index int) (any, bool)
7 Slice(startIndex, endIndex int) []any
8 ForEach(fn func(index int, value any) bool)
9 Clone() *List
10 DeleteRange(startIndex, endIndex int) int
11}IList defines the interface for list operations