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

Method asOptional

valdi_core/src/valdi_core/cpp/Schema/ValueSchema.cpp:431–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

429}
430
431ValueSchema ValueSchema::asOptional() const {
432 return ValueSchema::optional(*this);
433}
434
435ValueSchema ValueSchema::asNonOptional() const {
436 return ValueSchema::nonOptional(*this);

Callers 3

syncSchemaResultFlagsFunction · 0.80
TESTFunction · 0.80
OptionalClass · 0.80

Calls 1

optionalFunction · 0.85

Tested by 1

TESTFunction · 0.64