IsReverse returns whether the key is a reverse key.
()
| 321 | |
| 322 | // IsReverse returns whether the key is a reverse key. |
| 323 | func (p ParsedKey) IsReverse() bool { |
| 324 | return (p.bytePrefix == DefaultPrefix || p.bytePrefix == ByteSplit) && p.ByteType == ByteReverse |
| 325 | } |
| 326 | |
| 327 | // IsCountOrCountRev returns whether the key is a count or a count rev key. |
| 328 | func (p ParsedKey) IsCountOrCountRev() bool { |
no outgoing calls