MCPcopy Create free account
hub / github.com/featureform/featureform / Next

Method Next

helpers/struct_iterator/struct_iterator.go:15–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13}
14
15func (si *StructIterator) Next() bool {
16 si.idx += 1
17 if si.inRange() && si.isPublic() {
18 return true
19 } else if si.inRange() && !si.isPublic() {
20 return si.Next()
21 }
22 return false
23}
24
25func (si *StructIterator) inRange() bool {
26 return si.idx < si.numField

Callers 3

differingFieldsFunction · 0.95

Calls 2

inRangeMethod · 0.95
isPublicMethod · 0.95

Tested by 1