MCPcopy Create free account
hub / github.com/SeaQL/FireDBG.for.Rust / value_is_error

Function value_is_error

indexer/src/translate.rs:263–269  ·  view source on GitHub ↗
(value: &RValue)

Source from the content-addressed store, hash-verified

261}
262
263fn value_is_error(value: &RValue) -> bool {
264 if value.is_result() {
265 value.result_variant().is_err()
266 } else {
267 false
268 }
269}
270
271fn json_stringify<T>(v: &T) -> String
272where

Callers 1

eventFunction · 0.85

Calls 2

is_resultMethod · 0.80
result_variantMethod · 0.80

Tested by

no test coverage detected