Add a very silly table

This commit is contained in:
JT
2021-09-10 14:27:12 +12:00
parent 0694245ccd
commit 26d50ebcd5
13 changed files with 1840 additions and 0 deletions

View File

@ -288,6 +288,13 @@ impl Value {
pub fn is_true(&self) -> bool {
matches!(self, Value::Bool { val: true, .. })
}
pub fn columns(&self) -> Vec<String> {
match self {
Value::Record { cols, .. } => cols.clone(),
_ => vec![],
}
}
}
impl PartialEq for Value {