Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DNAProject/DNA
/ RemoveAt
Method
RemoveAt
vm/neovm/types/array_value.go:51–57 ·
view source on GitHub ↗
(index int64)
Source
from the content-addressed store, hash-verified
49
}
50
51
func
(self *ArrayValue) RemoveAt(index int64) error {
52
if
index < 0 || index >= self.Len() {
53
return
errors.ERR_INDEX_OUT_OF_BOUND
54
}
55
self.Data = append(self.Data[:index], self.Data[index+1:]...)
56
return
nil
57
}
Callers
2
TestArrayValue_RemoveAt
Function · 0.95
ExecuteOp
Method · 0.80
Calls
1
Len
Method · 0.95
Tested by
1
TestArrayValue_RemoveAt
Function · 0.76