package octez-libs
Signature for an interval of (included values) with an encoding and projection functions towards the underlying ocaml datatype.
include BOUNDS with type ocaml_type := ocaml_type
val min_value : ocaml_type
min_value
represents the minimal value (included) reprensatable.
val max_value : ocaml_type
max_value
represents the maximal value (included) reprensatable.
include Tezos_stdlib.Compare.S with type t := t
val encoding : t Data_encoding.t
A (partial) encoding of the datatype. If the encoded value is out of bounds, an exception may be raised. See Data_encoding.conv_with_guard
.
val pp : Format.formatter -> t -> unit
A pretty-printer for values of type t
.
val to_value : t -> ocaml_type
to_value t
is a projection to the OCaml representation of the bounded value t
.
val of_value : ocaml_type -> t option
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>