TYPE(value)
TYPE returns a number indicating the data type of a value. This function is Excel compatible.