MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / isInt

Method isInt

json/jsoncpp.cpp:3798–3815  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3796bool Value::isBool() const { return type_ == booleanValue; }
3797
3798bool Value::isInt() const {
3799 switch (type_) {
3800 case intValue:
3801#if defined(JSON_HAS_INT64)
3802 return value_.int_ >= minInt && value_.int_ <= maxInt;
3803#else
3804 return true;
3805#endif
3806 case uintValue:
3807 return value_.uint_ <= UInt(maxInt);
3808 case realValue:
3809 return value_.real_ >= minInt && value_.real_ <= maxInt &&
3810 IsIntegral(value_.real_);
3811 default:
3812 break;
3813 }
3814 return false;
3815}
3816
3817bool Value::isUInt() const {
3818 switch (type_) {

Callers

nothing calls this directly

Calls 2

UIntFunction · 0.85
IsIntegralFunction · 0.85

Tested by

no test coverage detected