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

Method isSchemaReference

valdi_core/src/valdi_core/cpp/Schema/ValueSchema.cpp:539–541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

537
538bool ValueSchema::isPromise() const {
539 return _type == ValueSchemaInnerTypePromise;
540}
541
542bool ValueSchema::isTypeReference() const {
543 return _type == ValueSchemaInnerTypeNamedTypeReference || _type == ValueSchemaInnerTypePositionalTypeReference;
544}

Callers 7

visitNestedTypeFunction · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64