---
title: "#conditional articles | Hashnode"
description: "Explore 15 articles tagged #conditional on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/conditional"
---

Tag

# #conditional

15 posts · 0 followers

[Jinali Ghoghari](https://hashnode.com/@JinaliInFlutterLand) · [Mar 14, 2024](https://hashnode.com/posts/dart-conditional-expressions/65f27c25628ff1c08b4e017f)

### [Dart Conditional Expressions:](https://jinali.hashnode.dev/dart-conditional-expressions?utm_source=hashnode&utm_medium=feed)

1\. ( condition ? expr1 : expr2): The conditional operator evaluates the condition and returns one of two expressions based on whether the condition is true or false. If the condition is true, expr1 is evaluated and returned; otherwise, expr2 is eva...

1 min read · [jinali.hashnode.dev](https://jinali.hashnode.dev/dart-conditional-expressions?utm_source=hashnode&utm_medium=feed)

[Vinit Mepani](https://hashnode.com/@VinitMepani) · [Jan 6, 2024](https://hashnode.com/posts/dart-decision-making/6599182aeea4ec340bd5441d)

### [Dart Decision Making](https://vinitmepani.hashnode.dev/dart-decision-making?utm_source=hashnode&utm_medium=feed)

The Decision-making statements allow us to determine that which statement will be execute on based on the condition during run time. There are many decision making statement such as If Statement If-else Statements If else if Statement Switch Cas...

4 min read · [vinitmepani.hashnode.dev](https://vinitmepani.hashnode.dev/dart-decision-making?utm_source=hashnode&utm_medium=feed)

[Gauri Shirkande](https://hashnode.com/@gauris) · [Aug 2, 2023](https://hashnode.com/posts/day-2-exploring-files-and-directories-with-bash-twsbashblazechallenge/64ca8d28ea99ab8f4ef9bb66)

### [Day 2: Exploring Files and Directories with Bash - #TWSBashBlazeChallenge🚀](https://gauris.hashnode.dev/day-2-exploring-files-and-directories-with-bash-twsbashblazechallenge?utm_source=hashnode&utm_medium=feed)

🌟 Introduction Welcome to Day 2 of the #TWSBashBlaze Challenge. In this blog, we will create a bash script that serves as an interactive file and directory explorer. We'll create a script that will allow you to explore the files and directories in t...

3 min read · [gauris.hashnode.dev](https://gauris.hashnode.dev/day-2-exploring-files-and-directories-with-bash-twsbashblazechallenge?utm_source=hashnode&utm_medium=feed)

[Agbeniga Agboola](https://hashnode.com/@wpgroom) · [Jul 25, 2023](https://hashnode.com/posts/what-is-the-ternary-operator-in-javascript/64c028743d0d5beec2f4cbb7)

### [What is the ternary operator in JavaScript?](https://wpgroom.hashnode.dev/what-is-the-ternary-operator-in-javascript?utm_source=hashnode&utm_medium=feed)

The Conditional (ternary) is a shorthand way of writing simple if-else statements in JavaScript. It's denoted by the ? : syntax and takes the following form: condition ? expressionIfTrue : expressionIfFalse; Here's how it works: The condition is an...

1 min read · [wpgroom.hashnode.dev](https://wpgroom.hashnode.dev/what-is-the-ternary-operator-in-javascript?utm_source=hashnode&utm_medium=feed)

[Aditya Gupta](https://hashnode.com/@aditya354) · [Jul 5, 2023](https://hashnode.com/posts/c-conditions/64a4f0913096eaae1248216c)

### [C++ Conditions](https://codewithadi.hashnode.dev/c-conditions?utm_source=hashnode&utm_medium=feed)

C++ has the following conditional statements: Use if to specify a block of code to be executed, if a specified condition is true Use else to specify a block of code to be executed, if the same condition is false Use else if to specify a new condit...

3 min read · [codewithadi.hashnode.dev](https://codewithadi.hashnode.dev/c-conditions?utm_source=hashnode&utm_medium=feed)

[Yash Ambekar](https://hashnode.com/@YashAmbekar) · [Jun 29, 2023](https://hashnode.com/posts/conditional-probability-bayes-theorem-and-chain-rule-of-probability/649d7da32b2f5738b2b19186)

### [Conditional Probability, Bayes Theorem and Chain Rule of Probability.](https://yashambekar.hashnode.dev/conditional-probability-bayes-theorem-and-chain-rule-of-probability?utm_source=hashnode&utm_medium=feed)

Conditional probability provides us with a way to reason about the outcome of an experiment, based on partial information. Suppose we know that the outcome is within some given event B. We wish to express the likelihood that the outcome also belongs...

5 min read · [yashambekar.hashnode.dev](https://yashambekar.hashnode.dev/conditional-probability-bayes-theorem-and-chain-rule-of-probability?utm_source=hashnode&utm_medium=feed)

[MOHAMMAD SHAAD SHAIKH](https://hashnode.com/@mohammadshaad) · [Dec 23, 2022](https://hashnode.com/posts/conditional-rendering-in-react/63a5e0e1ce47dc8187ba7314)

### [Conditional Rendering in React](https://mohammadshaad.hashnode.dev/conditional-rendering-in-react?utm_source=hashnode&utm_medium=feed)

When you are building react applications you may often need to show or hide some HTML based on a certain condition luckily conditional rendering in react works the same way conditions work in JavaScript we have four different approaches and we will t...

4 min read · [mohammadshaad.hashnode.dev](https://mohammadshaad.hashnode.dev/conditional-rendering-in-react?utm_source=hashnode&utm_medium=feed)

[Prashant Handel](https://hashnode.com/@prashanthandel) · [Nov 7, 2022](https://hashnode.com/posts/conditional-statements/63694d3c8debf848cc8ddaee)

### [Conditional Statements](https://prashanthandel.hashnode.dev/conditional-statements?utm_source=hashnode&utm_medium=feed)

There are various types of conditional statements in JavaScript, like- If Statement If-else Statement If-elseif-else Statement If Statement The if statement is used when we have to check any condition if it is true or false. If the given conditi...

2 min read · [prashanthandel.hashnode.dev](https://prashanthandel.hashnode.dev/conditional-statements?utm_source=hashnode&utm_medium=feed)

[Vignesh .V](https://hashnode.com/@VigneshKashyap) · [Sep 30, 2022](https://hashnode.com/posts/conditional-statements-in-javascript/6336b6ac6a9c4669c479cd6d)

### [Conditional statements in JavaScript](https://vigneshblogs.hashnode.dev/conditional-statements-in-javascript?utm_source=hashnode&utm_medium=feed)

Guide on Conditional statements in JavaScript

3 min read · [vigneshblogs.hashnode.dev](https://vigneshblogs.hashnode.dev/conditional-statements-in-javascript?utm_source=hashnode&utm_medium=feed)

[Ravi Rathore](https://hashnode.com/@Imravirathore) · [Sep 19, 2022](https://hashnode.com/posts/javascript-basics-conditional-statements/6328cd42195e7dc741da65c7)

### [JavaScript Basics: Conditional Statements](https://ravirathore.hashnode.dev/javascript-basics-conditional-statements?utm_source=hashnode&utm_medium=feed)

I hope you are fine and getting master in JavaScript day by day. Today, we'll learn about \*\*JavaScript Conditional Statements\*\*. Again its name tells the .

6 min read · [ravirathore.hashnode.dev](https://ravirathore.hashnode.dev/javascript-basics-conditional-statements?utm_source=hashnode&utm_medium=feed)
