MongooseWhere programmers kick back and build silly things together.

All help topics · Link to this topic

Showing help on 'min()'

Syntax: min (num <x>, ...) => num
max (num <x>, ...) => num

These two functions return the smallest or largest of their arguments, respectively. All of the arguments must be numbers of the same kind (i.e., either integer or floating-point); otherwise E_TYPE is raised.