diff --git a/lib/src/sql/value/value.rs b/lib/src/sql/value/value.rs index 8fafe0e3..85025a03 100644 --- a/lib/src/sql/value/value.rs +++ b/lib/src/sql/value/value.rs @@ -535,6 +535,14 @@ impl Value { matches!(self, Value::Thing(_)) } + pub fn is_model(&self) -> bool { + matches!(self, Value::Model(_)) + } + + pub fn is_range(&self) -> bool { + matches!(self, Value::Range(_)) + } + pub fn is_strand(&self) -> bool { matches!(self, Value::Strand(_)) }