MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / is_empty

Method is_empty

atomic-canonical/src/node.rs:194–196  ·  view source on GitHub ↗

True when no criteria are referenced. Drives `skip_serializing_if`, so an empty list is omitted exactly as it was under the plain `Vec`.

(&self)

Source from the content-addressed store, hash-verified

192 /// True when no criteria are referenced. Drives `skip_serializing_if`, so an
193 /// empty list is omitted exactly as it was under the plain `Vec`.
194 pub fn is_empty(&self) -> bool {
195 self.as_slice().is_empty()
196 }
197}
198
199impl Default for Satisfies {

Callers 15

parseFunction · 0.45
parse_leafFunction · 0.45
tokenizeFunction · 0.45
fromMethod · 0.45
validate_intentFunction · 0.45
validate_memoryFunction · 0.45
render_cliFunction · 0.45
groupMethod · 0.45
render_memory_cliFunction · 0.45
validate_profileFunction · 0.45
container_open_nameFunction · 0.45
opt_strFunction · 0.45

Calls 1

as_sliceMethod · 0.45

Tested by 1

documentsFunction · 0.36