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

Method isPromise

valdi_core/src/valdi_core/cpp/Schema/ValueSchema.cpp:527–529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

525
526bool ValueSchema::isOutcome() const {
527 return _type == ValueSchemaInnerTypeOutcome;
528}
529
530bool ValueSchema::isDate() const {
531 return _type == ValueSchemaInnerTypeDate;
532}

Calls

no outgoing calls

Tested by

no test coverage detected