WLJS LogoWLJS Notebook

PositiveIntegers

PositiveIntegers represents the domain of strictly positive integers, as in x ∈ PositiveIntegers.

Examples

Test membership:

Element[5, PositiveIntegers]
(* True *)

Zero is not positive:

Element[0, PositiveIntegers]
(* False *)

Please visit the official Wolfram Language Reference for more details.

On this page