MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / bool

Method bool

crates/expr/src/expr.rs:418–420  ·  view source on GitHub ↗

A literal boolean value

(v: bool)

Source from the content-addressed store, hash-verified

416
417 /// A literal boolean value
418 pub const fn bool(v: bool) -> Self {
419 Self::Value(AlgebraicValue::Bool(v), AlgebraicType::Bool)
420 }
421
422 /// A literal string value
423 pub const fn str(v: Box<str>) -> Self {

Callers 15

index.tsFile · 0.80
schema.tsFile · 0.80
reducers.tsFile · 0.80
schema.tsFile · 0.80
index.tsFile · 0.80
schema.tsFile · 0.80
index.tsFile · 0.80
schema.tsFile · 0.80
schema.tsFile · 0.80
schema.tsFile · 0.80
index.tsFile · 0.80
schema.tsFile · 0.80

Calls 2

ValueInterface · 0.50
BoolClass · 0.50

Tested by

no test coverage detected