Conditional operator is an alternative of:

if

All

if-else

Nested if