I have a function that takes a parameter of type object and needs to downcast it to an option.
option
member s.Bind(x : obj, rest) = let
I am not certain why you need to get your input as obj, but if your input is an Option<_>, then it is easy:
member t.Bind (x : 'a option, rest : obj option -> 'b) = let x = // val x : obj option x |> Option.bind (box >> Some) rest x