fn is_bound(&self, value: &Value) -> bool {
        match value {
            Value::Id(id) => self.map.contains_key(&VarId::Var(id.clone())),
            Value::Literal(_) | Value::Expr(_) | Value::Aggregate(_) => true,
        }
    }
/// Check is a fact value is bound or free, given the current context.
Check is a fact value is bound or free, given the current context.
Check is a fact value is bound or free given the current context .
fn is_bound(&self, value: &Value) -> bool {
        match value {
            Value::Id(id) => self.map.contains_key(&VarId::Var(id.clone())),
            Value::Literal(_) | Value::Expr(_) | Value::Aggregate(_) => true,
        }
    }
fn is_bound ( & self , value : & Value ) -> bool { match value { Value :: Id ( id ) => self . map . contains_key ( & VarId :: Var ( id . clone ( ) ) ) , Value :: Literal ( _ ) | Value :: Expr ( _ ) | Value :: Aggregate ( _ ) => true , } }
Check is a fact value is bound or free, given the current context.
Check is a fact value is bound or free given the current context .
&self
value
&Value
&self
value
&Value