MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / empty_array_field

Function empty_array_field

src/hooks/codex.rs:383–390  ·  view source on GitHub ↗
(value: &Value, keys: &[&str])

Source from the content-addressed store, hash-verified

381}
382
383fn empty_array_field(value: &Value, keys: &[&str]) -> bool {
384 keys.iter().any(|key| {
385 value
386 .get(*key)
387 .and_then(Value::as_array)
388 .is_some_and(Vec::is_empty)
389 })
390}
391
392fn matches_no_history_marker(value: &str) -> bool {
393 let normalized = value

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected