Validate that value is finite or issue error
mustBeFinite(
issues an error if value
)value
is not finite. A numeric value is finite if it is not NaN
or Inf
. This function does not return a value.
This function accepts user-defined objects if the class of the object implements the following method:
This function ignores input arguments that are empty values. Therefore, no error is thrown when the property or function argument value is empty.