WLJS LogoWLJS Notebook

EqualTo

EqualTo[y] is an operator form that yields x == y when applied to an expression x.

Examples

Use as an operator:

EqualTo[5][5]
(* True *)

Filter equal elements:

Select[{1, 2, 3, 4, 5}, EqualTo[3]]
(* {3} *)

Please visit the official Wolfram Language Reference for more details.

On this page