MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getArrayItemSchema

Method getArrayItemSchema

valdi_core/src/valdi_core/cpp/Schema/ValueSchema.cpp:614–621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

612}
613
614ValueSchema ValueSchema::getArrayItemSchema() const {
615 const auto* araraySchema = getArray();
616 if (araraySchema == nullptr) {
617 return ValueSchema::voidType();
618 }
619
620 return araraySchema->getElementSchema();
621}
622
623ValueSchema ValueSchema::getReferencedSchema() const {
624 const auto* schemaReference = getSchemaReference();

Callers 6

operator==Method · 0.80
shouldUseSchemaReferenceFunction · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64