Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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> {
Callers
8
web_search_extracts_and_filters_results
Function · 0.80
web_search_handles_generic_links_and_invalid_base_url
Function · 0.80
tool_search_supports_keyword_and_select_queries
Function · 0.80
notebook_edit_replaces_inserts_and_deletes_cells
Function · 0.80
format_structured_patch_preview
Function · 0.80
format_glob_result
Function · 0.80
format_grep_result
Function · 0.80
optional_string_array
Function · 0.80
Calls
no outgoing calls
Tested by
4
web_search_extracts_and_filters_results
Function · 0.64
web_search_handles_generic_links_and_invalid_base_url
Function · 0.64
tool_search_supports_keyword_and_select_queries
Function · 0.64
notebook_edit_replaces_inserts_and_deletes_cells
Function · 0.64