IsType returns whether the key is a type key.
()
| 351 | |
| 352 | // IsType returns whether the key is a type key. |
| 353 | func (p ParsedKey) IsType() bool { |
| 354 | return p.bytePrefix == ByteType |
| 355 | } |
| 356 | |
| 357 | // IsOfType checks whether the key is of the given type. |
| 358 | func (p ParsedKey) IsOfType(typ byte) bool { |
no outgoing calls