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

Method isMap

valdi_core/src/valdi_core/cpp/Utils/Value.cpp:787–789  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

785ValueType Value::getType() const noexcept {
786 return _type;
787}
788
789bool Value::isNumber() const noexcept {
790 return _type == ValueType::Int || _type == ValueType::Double || _type == ValueType::Long ||
791 _type == ValueType::Bool;
792}

Callers 9

unmarshallMapFunction · 0.45
jasmine.jsFile · 0.45
MapContainingFunction · 0.45
toHaveSizeFunction · 0.45
deserializeTestCasesFunction · 0.45

Calls

no outgoing calls

Tested by 1

deserializeTestCasesFunction · 0.36