TYPE(value)
TYPE returns a number indicating the data type of a value.
This function is Excel compatible.
TYPE(3) equals 1.
TYPE("text") equals 2.