isLess method

bool isLess (
  1. dynamic value1,
  2. dynamic value2
)

Checks if first value is less than the second one. The operation can be performed over numbers or strings.

  • value1 the first value to compare
  • value2 the second value to compare Returns true if the first value is less than second and false otherwise.