IsCount returns whether the key is a count key.
()
| 331 | |
| 332 | // IsCount returns whether the key is a count key. |
| 333 | func (p ParsedKey) IsCount() bool { |
| 334 | return (p.bytePrefix == DefaultPrefix || p.bytePrefix == ByteSplit) && p.ByteType == ByteCount |
| 335 | } |
| 336 | |
| 337 | // IsCountRev returns whether the key is a count rev key. |
| 338 | func (p ParsedKey) IsCountRev() bool { |
no outgoing calls
no test coverage detected