MCPcopy Create free account
hub / github.com/dfinity/ic-repl / is_call

Method is_call

src/exp.rs:74–83  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

72}
73impl Exp {
74 pub fn is_call(&self) -> bool {
75 // Used to decide if we want to report profiling numbers. Ignore par_call for now
76 matches!(
77 self,
78 Exp::Call {
79 mode: CallMode::Call,
80 ..
81 }
82 )
83 }
84 pub fn eval(self, helper: &MyHelper) -> Result<IDLValue> {
85 Ok(match self {
86 Exp::Path(id, path) => {

Callers 1

runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected