/ Conditionals / if.not_equal


Title : if.not_equal
Purpose : For executing a certain code block when two values are not equal
Syntax :
Input Parameters : lhs: (any) (Required) Left hand side value

rhs: (any) (Required) Right hand side value

Return Value : (void) It won’t return anything, instead it will execute the codes

when the condition becomes true (which means lhs is not equal to rhs).

Example 1 :
Code :
Output : It will display the text when the user’s favourite comic is not DC
Description : In this example we are displaying a text when the user is not a DC fan.
Most Popular

Leave a Reply

Your email address will not be published.