Module Caml_option

type nested = {
  1. depth: int,
};
let nullable_to_opt: Js.null_undefined('a) => option('a);
let undefined_to_opt: Js.undefined('a) => option('a);
let null_to_opt: Js.null('a) => option('a);
let isNested: Bs_stdlib_mini.Obj.t => bool;
type poly;
let option_unwrap: option(poly) => Bs_stdlib_mini.Obj.t;

When it is None, return none When it is (Some (`a 3)) return 3