MCPcopy Create free account
hub / github.com/DNAProject/DNA / Len

Method Len

vm/neovm/types/array_value.go:47–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45}
46
47func (self *ArrayValue) Len() int64 {
48 return int64(len(self.Data))
49}
50
51func (self *ArrayValue) RemoveAt(index int64) error {
52 if index < 0 || index >= self.Len() {

Callers 6

RemoveAtMethod · 0.95
TestArrayValue_RemoveAtFunction · 0.95
TestStructValue_CloneFunction · 0.45
ReadBytesMethod · 0.45
PositionMethod · 0.45
LengthMethod · 0.45

Calls

no outgoing calls

Tested by 2

TestArrayValue_RemoveAtFunction · 0.76
TestStructValue_CloneFunction · 0.36