Testing the type of a variable

Is there a way to check if a number is an integer for instance ?

Could a test like the following work ? I could not find a function like as.integer() or something the like in easyMorph.

if(
floor([VARIABLE]) = ceil([VARIABLE]),
True,
False
)

There is no dedicated function to test for integer number. I typically just use

floor([Value]) = [Value]

or

round([Value],0) = [Value]

PS. Note that if(condition, true(), false()) is logically equivaluent to just condtion.

Also, type testing functions are:

istext
isnumber
isboolean
iserror
isempty

Hi Dmitry,

Thanks for the response !

Does the logical test I proposed also works ?

Kind regards

It should work too. Only in in EasyMorph it's not ceil it's ceiling.