Lowest price ever! Learn Generative AI for 48% less!
Get my discount0
If(condition) {
//Do something
} else {
/Do something else if the condition is not true
}
So you are testing if something is true. With else, you do somethin in the case when condtition is not true