if.false

/ Conditionals / if.false

 

Title : if.false
Purpose : Boolean represents one of two values: true or false, If provided variable is false then executes
Syntax :
Input Parameters : Array, Boolean, String, Number, Null etc…
Return Value : Code to be executed if condition is false
Example 1 :
Code :
Output : It will display the text false!
Description : Boolean Values:
Very often, in programming, you will need a data type that can only have one of two values, like

YES / NO
ON / OFF
TRUE / FALSE

Categories
Most Popular

Leave a Reply

Your email address will not be published. Required fields are marked *