conditional operator executes the condition and returns a boolean value. If the boolean value is true, then the first expression will be executed. Otherwise, the second expression will be executed.
The conditional operator is also called as ternary operator.
|condition||Required||An expression whose value is used as a condition.|
Please do google search for:
Join Our Channel
This channel is primarily useful for Full Stack Web Developer.