MCPcopy Index your code
hub / github.com/Rust-API/Rust-API-Bypass-Checker / is_integer

Method is_integer

src/analysis/memory/expression.rs:434–442  ·  view source on GitHub ↗

Returns true if this type is one of the integer types.

(&self)

Source from the content-addressed store, hash-verified

432
433 /// Returns true if this type is one of the integer types.
434 pub fn is_integer(&self) -> bool {
435 use self::ExpressionType::*;
436 match self {
437 I8 | I16 | I32 | I64 | I128 | Isize | U8 | U16 | U32 | U64 | U128 | Usize | Bool => {
438 true
439 }
440 _ => false,
441 }
442 }
443
444 /// Returns true if this type is not a primitive type. References are not regarded as
445 /// primitives for this purpose.

Callers 6

update_value_atMethod · 0.80
castMethod · 0.80
logical_notMethod · 0.80
symbolic_to_expressionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected