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

Method isOptional

valdi_core/src/valdi_core/cpp/Schema/ValueSchema.cpp:455–457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

453
454bool ValueSchema::isUntyped() const {
455 return _type == ValueSchemaInnerTypeUntyped;
456}
457
458bool ValueSchema::isVoid() const {
459 return _type == ValueSchemaInnerTypeVoid;
460}

Callers 6

syncSchemaResultFlagsFunction · 0.45
TESTFunction · 0.45
onSuccessMethod · 0.45
operator()Method · 0.45
parse_block_nodeMethod · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36