isnum()
Table of Contents
Definition
isnum() takes a value and determines whether or not it is a number. If the value is a number, this function returns true.
Examples
The following example adds a new column 'IsNumber' with eval and inserts either 'yes' or 'no' values with if() if the criteria for isnum() is met.
| makeresults
| eval number=5
| eval isNumber=if(isnum(number), "yes", "no")