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

Method firstValue

Fleece/Core/Array.cc:84–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82 }
83
84 const Value* Array::impl::firstValue() const noexcept {
85 if (_usuallyFalse(_count == 0))
86 return nullptr;
87 return deref(_first);
88 }
89
90 size_t Array::impl::indexOf(const Value *v) const noexcept {
91 return ((size_t)v - (size_t)_first) / _width;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected