Module Core.BoolSource
This module extends Base.Bool.
include Bin_prot.Binable.S__local with type t := Core.Bool.t
include module type of Base.Bool with type t := Core.Bool.t
include Ppx_enumerate_lib.Enumerable.S with type t := Core.Bool.t
val all : Core.Bool.t listval globalize : Core.Bool.t @ local -> Core.Bool.tinclude Sexplib0.Sexpable.S__stack with type t := Core.Bool.t
val sexp_of_t__stack : Core.Bool.t @ local -> Sexplib0.Sexp.t @ localval t_sexp_grammar : Core.Bool.t Sexplib0.Sexp_grammar.t @@ portableinclude Base.Identifiable.S__local__portable with type t := Core.Bool.t
type comparator_witness = Base.Bool.comparator_witnessinclude Base.Invariant.S with type t := Core.Bool.t
val invariant : Core.Bool.t -> unitval to_int : Core.Bool.t -> int @@ portableto_int true = 1to_int false = 0
include Core.Identifiable.S__local
with type t := Core.Bool.t
and type comparator_witness := Base.Bool.comparator_witness
val bin_size_t : Core.Bool.t Bin_prot.Size.sizerval bin_write_t : Core.Bool.t Bin_prot.Write.writerval bin_read_t : Core.Bool.t Bin_prot.Read.readerval __bin_read_t__ : Core.Bool.t Bin_prot.Read.vtag_readerval bin_shape_t : Bin_prot.Shape.tval bin_writer_t : Core.Bool.t Bin_prot.Type_class.writerval bin_reader_t : Core.Bool.t Bin_prot.Type_class.readerval bin_t : Core.Bool.t Bin_prot.Type_class.tval t_of_sexp : Sexplib0.Sexp.t -> Core.Bool.tval sexp_of_t : Core.Bool.t -> Sexplib0.Sexp.tval of_string : string -> Core.Bool.tval to_string : Core.Bool.t -> stringval pp : Base.Formatter.t -> Core.Bool.t -> unitval (>=) : Core.Bool.t -> Core.Bool.t -> boolval (<=) : Core.Bool.t -> Core.Bool.t -> boolval (=) : Core.Bool.t -> Core.Bool.t -> boolval (>) : Core.Bool.t -> Core.Bool.t -> boolval (<) : Core.Bool.t -> Core.Bool.t -> boolval (<>) : Core.Bool.t -> Core.Bool.t -> boolval equal : Core.Bool.t -> Core.Bool.t -> boolval compare : Core.Bool.t -> Core.Bool.t -> intval equal__local : Core.Bool.t @ local -> Core.Bool.t @ local -> boolval compare__local : Core.Bool.t @ local -> Core.Bool.t @ local -> intval min : Core.Bool.t -> Core.Bool.t -> Core.Bool.tval max : Core.Bool.t -> Core.Bool.t -> Core.Bool.tval ascending : Core.Bool.t -> Core.Bool.t -> intval descending : Core.Bool.t -> Core.Bool.t -> intval between : Core.Bool.t -> low:Core.Bool.t -> high:Core.Bool.t -> boolval clamp_exn :
Core.Bool.t ->
min:Core.Bool.t ->
max:Core.Bool.t ->
Core.Bool.tval clamp :
Core.Bool.t ->
min:Core.Bool.t ->
max:Core.Bool.t ->
Core.Bool.t Base.Or_error.tSource
val validate_bound :
min:Core.Bool.t Core.Maybe_bound.t ->
max:Core.Bool.t Core.Maybe_bound.t ->
Core.Bool.t Validate.checkval comparator :
(Core.Bool.t, Base.Bool.comparator_witness) Base.Comparator.T.comparatorval hash_fold_t : Core.Bool.t Ppx_hash_lib.hash_foldval hash : Core.Bool.t -> Ppx_hash_lib.Std.Hash.hash_valueval hashable : Core.Bool.t Base.Hashable.tHuman readable parsing. Accepted inputs are (case insensitive):
- true/false
- yes/no
- 1/0
- t/f
- y/n