Computes min/max based on a new value and previous range.
Returns existing object reference if value is within existing range.
If value is not a number, by default it will be ignored. Use the 'nonNumberHandling' param to set it
to throw an error instead if you want to catch that
Computes min/max based on a new value and previous range. Returns existing object reference if value is within existing range.
If
value
is not a number, by default it will be ignored. Use the 'nonNumberHandling' param to set it to throw an error instead if you want to catch that