MCPcopy Index your code
hub / github.com/SingleRust/SingleRust / is_none

Method is_none

src/shared/mod.rs:78–84  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

76 }
77
78 pub fn is_none(&self) -> bool {
79 match self {
80 Self::Absolute(_) => false,
81 Self::Relative(_) => false,
82 Self::None => true,
83 }
84 }
85
86 pub fn is_some(&self) -> bool {
87 !self.is_none()

Callers 1

is_someMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected