MCPcopy Create free account
hub / github.com/hashintel/hash / is

Method is

libs/error-stack/src/frame/mod.rs:77–79  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

75 /// Returns if `T` is the held context or attachment by this frame.
76 #[must_use]
77 pub fn is<T: Send + Sync + 'static>(&self) -> bool {
78 self.frame.as_any().is::<T>()
79 }
80
81 /// Downcasts this frame if the held context or attachment is the same as `T`.
82 #[must_use]

Callers 11

requiredCapacityFunction · 0.80
setFunction · 0.80
setFunction · 0.80
setFunction · 0.80
updateFunction · 0.80
setFunction · 0.80
setFunction · 0.80
setFunction · 0.80
useDraftFieldFunction · 0.80
setValueFunction · 0.80
setErrorFunction · 0.80

Calls 1

as_anyMethod · 0.45

Tested by

no test coverage detected