Documentation

Batteries.Data.Char.Basic

theorem List.mem_finRange {n : Nat} (x : Fin n) :
theorem Char.le_antisymm_iff {x y : Char} :
x = y x y y x
@[simp]
theorem Char.toNat_val (c : Char) :
@[simp]
theorem Char.toNat_ofNatAux {n : Nat} (h : n.isValidChar) :
(ofNatAux n h).toNat = n
@[reducible, inline]
abbrev Char.max :

Maximum character code point. (See unicode scalar value.)

Equations
Instances For
    @[reducible, inline]

    Maximum surrogate code point. (See unicode scalar value.)

    Equations
    Instances For
      @[reducible, inline]

      Minimum surrogate code point. (See unicode scalar value.)

      Equations
      Instances For
        @[reducible, inline]
        abbrev Char.count :

        Number of valid character code points. (See unicode scalar value.)

        Equations
        Instances For
          def Char.all (p : CharBool) :

          Returns true if p returns true for every Char.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            theorem Char.eq_true_of_all_eq_true {p : CharBool} (h : Char.all p = true) (c : Char) :
            p c = true
            def Char.any (p : CharBool) :

            Returns true if p returns true for some Char.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              theorem Char.eq_false_of_any_eq_false {p : CharBool} (h : Char.any p = false) (c : Char) :
              p c = false