package links
val iter : 'a t -> f:('a -> unit) -> unit
If only one of the inputs has a value, that value is returned. Otherwise the result of f
applied to the underlying values is returned.
val value : 'a t -> default:'a -> 'a
Get the underlying value of an option type or return default
val value_exn : ?exn:exn -> 'a t -> 'a
Unpack the option value or throw an exception if it is None
.
val return : 'a -> 'a t
Return a constant value as a Some
.
val is_some : 'a t -> bool
Return true if the option value contains a value.
val is_none : 'a t -> bool
Return true if the option value is none.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>