MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / is_field_null

Function is_field_null

nodedb-query/src/msgpack_scan/compare.rs:147–149  ·  view source on GitHub ↗

Check if a field value is null without extracting it.

(buf: &[u8], range: (usize, usize))

Source from the content-addressed store, hash-verified

145
146/// Check if a field value is null without extracting it.
147pub fn is_field_null(buf: &[u8], range: (usize, usize)) -> bool {
148 read_null(buf, range.0)
149}
150
151/// Type rank for cross-type ordering. Lower rank = sorts first.
152/// Null(0) < Bool(1) < Number(2) < String(3) < Binary(4) < Array(5) < Map(6) < Ext(7)

Callers

nothing calls this directly

Calls 1

read_nullFunction · 0.85

Tested by

no test coverage detected