Skip to main content

value_matches

Function value_matches 

Source
pub fn value_matches(ty: &FieldType, value: &ParseValue) -> bool
Expand description

Does a value belong in a field of this type?

null is assignable to any field, because upstream never type-checks it: it has no type.