This commit is contained in:
Mark 2023-03-14 12:42:39 +01:00 committed by GitHub
parent 5d868a759d
commit 5ca0373640
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,9 +91,7 @@ impl BuiltinFunction {
_ => return None, _ => return None,
}) })
} }
pub fn takes(&self, in: Vec<VType>) -> bool { /// for invalid inputs, returns VType { types: vec![] }.
todo!()
}
pub fn returns(&self, in: Vec<VType>) -> VType { pub fn returns(&self, in: Vec<VType>) -> VType {
match self { match self {
// [] // []