I'm coding a validator for a data pipeline and I want to assert that the numbers in my data are all "good" numbers, so I want to check for NaN, Inf or null. Are some kind of function that can test for that and there is more exception values that I should check ?
I think that a test to check if the number is between a range for example [-10,10] will guarantee good numbers, but i want to know if there is a better method
To check if all the numbers in the data are good numbers:
To check individually: