MCPcopy Create free account
hub / github.com/couchbase/fleece / empty

Method empty

API/fleece/slice.hh:112–112  ·  view source on GitHub ↗

True if the slice's length is zero.

Source from the content-addressed store, hash-verified

110
111 /// True if the slice's length is zero.
112 bool empty() const noexcept FLPURE {return size == 0;}
113
114 /// Testing a slice as a bool results in false for nullslice, true for anything else.
115 explicit operator bool() const noexcept FLPURE {return buf != nullptr;}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected