ElxValidation.Max.is_maximum

You're seeing just the function is_maximum, go back to ElxValidation.Max module for more information.
Link to this function

is_maximum(target, value)

check value max size

  • max : 10 / value 9 -> passed
  • max : 3 / value "hi" -> passed (hi is 2 char < 3)
  • value is string and convert to number