()
| 155 | } |
| 156 | |
| 157 | func (a array) Nature() Nature { |
| 158 | of := a.of.Nature() |
| 159 | nt := NatureOf([]any{}) |
| 160 | if nt.TypeData == nil { |
| 161 | nt.TypeData = new(TypeData) |
| 162 | } |
| 163 | nt.Fields = make(map[string]Nature, 1) |
| 164 | nt.Ref = &of |
| 165 | return nt |
| 166 | } |
| 167 | |
| 168 | func (a array) Equal(t Type) bool { |
| 169 | if t == Any { |