Valid returns true iff the iterator is positioned at a valid node.
()
| 415 | |
| 416 | // Valid returns true iff the iterator is positioned at a valid node. |
| 417 | func (s *Iterator) Valid() bool { return s.n != nil } |
| 418 | |
| 419 | // Key returns the key at the current position. |
| 420 | func (s *Iterator) Key() []byte { |
no outgoing calls