コード例 #1
0
 public bool Equals(IMayHaveSome other) => other != null && !other.HasSome;
コード例 #2
0
 public bool Equals(IMayHaveSome other) =>
 other is Option <T>
 ?Equals((Option <T>) other)
     : other != null && !HasSome && !other.HasSome;