- ELM Tutorial
- ELM - Home
- ELM - Introduction
- ELM - Environment Setup
- ELM - Basic Syntax
- ELM - Data Types
- ELM - Variables
- ELM - Operators
- ELM - Decision Making
- ELM - Loop
- ELM - Functions
- ELM - String
- ELM - List
- ELM - Tuples
- ELM - Records
- ELM - Error Handling
- ELM - Architecture
- ELM - Package Manager
- ELM - Messages
- ELM - Commands
- ELM - Subscriptions
- ELM Useful Resources
- ELM - Quick Guide
- ELM - Useful Resources
- ELM - Discussion
Elm - Relational Operators
Illustration
Open the elm REPL and try examples shown below −
C:\Users\admin>elm repl ---- elm-repl 0.18.0 ----------------------------------------------------------- :help for help, :exit to exit, more at <https://github.com/elm-lang/elm-repl> -------------------------------------------------------------------------------- > 10 > 5 || 20>5 True : Bool > 10 >5 && 20>5 True : Bool > 10 /= 20 True : Bool > not True False : Bool > not (10>20) True : Bool > xor True True False : Bool > xor (10>20) (20>10) True : Bool
Advertisements
To Continue Learning Please Login
Login with Google