code: function (value, min, max) {
              if (min > max) {
                  max = min + max;
                  min = max - min;
                  max = max - min;
              }
              return Math.min(max, Math.max(min, value));
          }
docs: ### Number utils Clamps a number to a given range.