('T -> 'nullableValue) -> 'T option -> 'nullableValue option
open System
let userInput = Some 12
let toNullable<'T> x = Nullable x
Option.bindNull toNullable userInput
// Some 12
open System
let userInput : Option<int> = None
let toNullable<'T> x = Nullable x
Option.bindNull toNullable userInput
// None
let userInput = Some 12
Option.bindNull string userInput
// Some "12"