if.true

/ Conditionals / if.true

 

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

For more information > Click Here!

Categories
Most Popular

Leave a Reply

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