MCPcopy Create free account
hub / github.com/cel-rust/cel-rust / bool

Function bool

cel/src/objects.rs:1551–1553  ·  view source on GitHub ↗
(boolean: bool)

Source from the content-addressed store, hash-verified

1549}
1550
1551fn bool<'a>(boolean: bool) -> Cow<'a, dyn Val> {
1552 Cow::<dyn Val>::Owned(Box::new(CelBool::from(boolean)))
1553}
1554
1555fn try_bool(val: Result<Cow<dyn Val>, ExecutionError>) -> Result<bool, ExecutionError> {
1556 match val {

Callers 1

resolve_valMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected