If
a = 10

print(class(a))

if(is.integer(a))
{
	print("a is an integer ...")
} else
{
	print("a is not an integer ...")
}