Module Nullsafe__InferredNullability
val get_nullability : t -> Nullsafe.Nullability.t
val create : Nullsafe.TypeOrigin.t -> t
val is_nonnullish : t -> bool
Check whether corresponding
Nullability
isNullability.is_nonnullish
val get_simple_origin : t -> Nullsafe.TypeOrigin.t
The simple explanation of how was nullability inferred.
val get_provisional_annotations : t -> Nullsafe.ProvisionalAnnotation.t list
val join : t -> t -> t
This is what happens with nullability when we join two flows in CFG, e.g.
if(something) { a = e1; } else { a = e2; } // what is nullability of `a` at this point?