Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ isNull
Method
isNull
valdi_core/src/valdi_core/cpp/Utils/Value.cpp:747–749 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
745
float Value::toFloat() const noexcept {
746
return static_cast<float>(toDouble());
747
}
748
749
int32_t Value::toInt() const noexcept {
750
switch (getType()) {
751
case ValueType::Int:
752
return _data.i;
Callers
2
operator<
Method · 0.45
isNamed
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected