WLJS LogoWLJS Notebook

NumberQ

NumberQ[expr] gives True if expr is an explicit number, and False otherwise.

Examples

Test explicit numbers:

NumberQ[42]
(* True *)
NumberQ[3.14]
(* True *)

Symbolic constants are not explicit numbers:

NumberQ[Pi]
(* False *)

Please visit the official Wolfram Language Reference for more details.

On this page