API Docs for: 0.1.1
Show:

Math Class

Module: Joy

Item Index

Methods

Methods

clamp

(
  • number
  • low
  • high
)
static

Parameters:

  • number Number
  • low Number
  • high Number

Example:

Math.clamp(5, 10, 20); // returns 10