WLJS LogoWLJS Notebook

Integer

Integer is the head used for integers.

Examples

Check if a value is an integer:

Head[42]
(* Integer *)

Test for integer type:

IntegerQ[42]
(* True *)
IntegerQ[3.14]
(* False *)

Please visit the official Wolfram Language Reference for more details.

On this page