Definitions
-
conjunction
Used to talk about something that may or may not be true.
Examples
- If you cross the road, look both ways.
- If I give you the money, will you buy it for me?
-
conjunction
Used to talk about something that is not true or did not happen.
Examples
- If she hadn't told me, I wouldn't know.
- If I were rich, I would travel the world.
-
conjunction
Used to talk about something that is already known to be true.
Examples
- If the drain is blocked, the water won't flow.
- If you're tired, you should get some rest.
-
conjunction
Used to add a small point that makes something less strong, like although.
Examples
- He was a great friend, if a little stingy.
- She won the team's respect, if not the award.
-
conjunction
Used to ask or talk about something you do not know, like whether.
Examples
- I don't know if I want to go or not.
- Can you tell me if the shop is open?
-
conjunction
Used to mean even if.
Examples
- I wouldn't marry you if you were the last man on earth.
- She would never lie, if you paid her a million dollars.
-
conjunction
Used to mean every time that something happens.
Examples
- If you heat water to 100 degrees, it boils.
- If it rains, it pours.
-
conjunction
Used to offer something or give information that someone may want.
Examples
- I have leftover cake if you want some.
- If you want to go home, I have the car keys.
-
conjunction
Used to show a contrast between two things, like while.
Examples
- If his Russian was music, his English was noise.
- If she is shy at work, she is loud at home.
-
conjunction
A word in computer code that runs an action only when a condition is true.
Examples
- If A then B, else C.
- If x is greater than 0, print positive.
