MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / IsFieldPresent

Function IsFieldPresent

native/thirdpart/flatbuffers/flatbuffers.h:2777–2781  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2775// used).
2776template<typename T>
2777bool IsFieldPresent(const T *table, typename T::FlatBuffersVTableOffset field) {
2778 // Cast, since Table is a private baseclass of any table types.
2779 return reinterpret_cast<const Table *>(table)->CheckField(
2780 static_cast<voffset_t>(field));
2781}
2782
2783// Utility function for reverse lookups on the EnumNames*() functions
2784// (in the generated C++ code)

Callers

nothing calls this directly

Calls 1

CheckFieldMethod · 0.80

Tested by

no test coverage detected