Skip to main content

null_array_elision

Function null_array_elision 

Source
fn null_array_elision(a: &TypeAnnotation, b: &TypeAnnotation) -> bool
Expand description

Returns true if two array types are compatible when either inner type is Null (i.e. an empty array [] is compatible with any typed array).