How can we get the field type of a particular field using formula language?

How can we get the type of a particular field in the form using formula language? Is there any particular function like DataType() ?

Subject: How can we get the field type of a particular field using formula language?

I am not aware of one… You’re stuck repeating something like this:

type := @IF(@IsNumber(field);“Number”;@IsTime(field);“Date”;@IsText(field);“Text”;“Error”)