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 : Bs_stdlib_mini.Obj.t -> Bs_stdlib_mini.Obj.t
The input is already of Some form, x is not None, make sure x[0] will not throw
val some : Bs_stdlib_mini.Obj.t -> Bs_stdlib_mini.Obj.t
val option_get : Bs_stdlib_mini.Obj.t option -> Bs_stdlib_mini.Obj.t Js_undefined.t
val option_get_unwrap : 'a option -> Bs_stdlib_mini.Obj.t Js_undefined.t
input is optional polymorphic variant