Skip to content

Between

Malexion edited this page Nov 3, 2016 · 1 revision

__.math.between(value, min, max)

  • value Value to ensure is in between the two following params.
  • min Minimum value returnable.
  • max Maximum value returnable.

Examples

var result = __.math.between(2, 0, 100);

console.log(result);
Clone this wiki locally