MCPcopy Create free account
hub / github.com/arcjet/gravity / optional_primitive

Method optional_primitive

examples/basic/src/lib.rs:20–22  ·  view source on GitHub ↗
(_: Option<bool>)

Source from the content-addressed store, hash-verified

18 true
19 }
20 fn optional_primitive(_: Option<bool>) -> Option<bool> {
21 Some(true)
22 }
23 fn result_primitive() -> Result<bool, String> {
24 Ok(true)
25 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected