Test for equality or inequality between two values.
Syntax
x == y
x != y
Arguments
x
- The first statement to evaluatey
- The second statemenet to evaluate
Examples
The following example loads an image, reads the text in the image, and shows the image if it contains "tea".
Load["./photo.jpg"]
GetText[]
If[Read[] == "tea"]
Show[]