WLJS LogoWLJS Notebook

NumericQ

NumericQ[expr] gives True if expr is a numeric quantity, and False otherwise.

Examples

Test numeric quantities:

NumericQ[3.14]
(* True *)
NumericQ[Pi]
(* True *)

Symbolic expressions are not numeric:

NumericQ[x + 1]
(* False *)

Please visit the official Wolfram Language Reference for more details.

On this page