MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / as_array

Method as_array

graphlite/src/storage/value.rs:237–242  ·  view source on GitHub ↗

Extract as array if possible

(&self)

Source from the content-addressed store, hash-verified

235
236 /// Extract as array if possible
237 pub fn as_array(&self) -> Option<&Vec<Value>> {
238 match self {
239 Value::Array(arr) => Some(arr),
240 _ => None,
241 }
242 }
243
244 /// Extract as list (supports both List and Array variants)
245 pub fn as_list(&self) -> Option<&Vec<Value>> {

Callers 11

execute_ddl_operationMethod · 0.80
execute_ddl_operationMethod · 0.80
list_rolesMethod · 0.80
list_usersMethod · 0.80
authenticate_userMethod · 0.80
update_schemaMethod · 0.80
from_paramsMethod · 0.80
update_userMethod · 0.80
update_roleMethod · 0.80
from_jsonMethod · 0.80

Calls

no outgoing calls

Tested by 1

from_jsonMethod · 0.64