MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / contains_key

Method contains_key

cranelift/entity/src/sparse.rs:139–141  ·  view source on GitHub ↗

Return `true` if the map contains a value corresponding to `key`.

(&self, key: K)

Source from the content-addressed store, hash-verified

137
138 /// Return `true` if the map contains a value corresponding to `key`.
139 pub fn contains_key(&self, key: K) -> bool {
140 self.get(key).is_some()
141 }
142
143 /// Insert a value into the map.
144 ///

Callers 15

runMethod · 0.45
rewriteMethod · 0.45
contains_valueMethod · 0.45
contains_blockMethod · 0.45
contains_ssMethod · 0.45
contains_dssMethod · 0.45
contains_gvMethod · 0.45
contains_sigMethod · 0.45
contains_fnMethod · 0.45
contains_jtMethod · 0.45
contains_constantMethod · 0.45

Calls 2

is_someMethod · 0.45
getMethod · 0.45

Tested by 1

runMethod · 0.36