Given the following:
[]
type TweetUser = {
[] Followers:int
[
Though this question is old, I didn't see any examples of boxing to solve the problem. In cases where my presenter does not allow null literals, but may be set from a view, I prefer to use boxing.
isNull <| box obj
or
let isMyObjNull = isNull <| box obj
or
match box obj with
| null -> (* obj is null *)
| _ -> (* obj is not null *)