MCPcopy Create free account
hub / github.com/argumentcomputer/ix / contains_const

Method contains_const

crates/kernel/src/anon_env.rs:54–56  ·  view source on GitHub ↗

Whether a constant is present in this view.

(&self, addr: &Address)

Source from the content-addressed store, hash-verified

52
53 /// Whether a constant is present in this view.
54 pub fn contains_const(&self, addr: &Address) -> bool {
55 self.inner.consts.contains_key(addr)
56 }
57
58 /// Number of constants.
59 pub fn const_count(&self) -> usize {

Callers

nothing calls this directly

Calls 1

contains_keyMethod · 0.45

Tested by

no test coverage detected