MCPcopy Create free account
hub / github.com/Work-Fisher/code-claw / as_array

Method as_array

claw-code/rust/crates/runtime/src/json.rs:83–88  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

81
82 #[must_use]
83 pub fn as_array(&self) -> Option<&[JsonValue]> {
84 match self {
85 Self::Array(value) => Some(value),
86 _ => None,
87 }
88 }
89
90 #[must_use]
91 pub fn as_str(&self) -> Option<&str> {

Calls

no outgoing calls