Javatpoint Logo
Javatpoint Logo

F# Boolean operators

Boolean operators are used to check conditional expressions. It returns true if expression satisfies the condition otherwise it returns false. In F#, and operator evaluates second operand if first operand is true otherwise it returns false without checking second operand. It is also known as short-circuit operator.

Symbol Description
Not Boolean negation
|| Boolean OR
&& Boolean AND

F# Boolean Operator Example

Output:

A and B both are equal
Either A or B is 20





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA