Returns Some if the value is not null, otherwise None
Option<T> toOption() => this != null ? Some<T>(this as T) : None<T>();