process: simplify check in previousValueIsValid()
This commit replaces a call to Number.isFinite()
with a cheaper typeof
check. The subsequent range checks ensure that the checked value is finite.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines