is_integer


is_integer(obj)
      

Return true if the object obj is an integer, false otherwise.

Examples:


is_integer(123)
// true
is_integer(123.)
// true
is_integer(123.2)
// false
      

Also see:

is_number
is_real
is_complex
is_rational


Core Module Index | Contents