# Conditional **Published by:** [CryptoVincent](https://paragraph.com/@cryptovincent/) **Published on:** 2022-10-18 **URL:** https://paragraph.com/@cryptovincent/conditional ## Content 🤷Conditional Statements (If / Else) 🤷Solidity supports conditional statements if, else if and else. 🤷The first function "foo" we have: ➡️"if(condition is true?) then do something (condition is false?) next step" ➡️"else if(another condition is true?) then do something (condition is false?) next step" ➡️"else do something" 🤷The second function "ternary" we have another way to do an if/else statement by using "condition" ? (true part) : (false part) ## Publication Information - [CryptoVincent](https://paragraph.com/@cryptovincent/): Publication homepage - [All Posts](https://paragraph.com/@cryptovincent/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@cryptovincent): Subscribe to updates - [Twitter](https://twitter.com/zerpajose): Follow on Twitter