isint()
Table of Contents
Definition
isint() takes a value as an argument and returns true if the value is an integer. The value can be either a literal value or a column reference.
Examples
The following example returns either "int" or "not int" depending on if the value in 'field' column is an integer.
| makeresults
| eval field=2.6
| eval n=if(isint(field),"int", "not int")