Module Js_primitive

module Js_primitive: sig .. end
The input is already of Some form, x is not None, make sure x[0] will not throw

val nullable_to_opt : 'a Js.null_undefined -> 'a option
val undefined_to_opt : 'a Js.undefined -> 'a option
val null_to_opt : 'a Js.null -> 'a option
val valFromOption : Obj.t -> Obj.t
The input is already of Some form, x is not None, make sure x[0] will not throw
val some : Obj.t -> Obj.t
val option_get : Obj.t option -> Obj.t Js_undefined.t
val option_get_unwrap : 'a option -> Obj.t Js_undefined.t
input is optional polymorphic variant