WLJS LogoWLJS Notebook

GreaterThan

GreaterThan[y] is an operator form that yields x > y when applied to an expression x.

Examples

Use as an operator:

Select[{1, 3, 5, 7, 9}, GreaterThan[4]]
(* {5, 7, 9} *)

With Map:

GreaterThan[5] /@ {3, 5, 7}
(* {False, False, True} *)

Please visit the official Wolfram Language Reference for more details.

On this page