Ternary operator
You can use the ternary operator to perform single line if-then-else logic expressions.
user.enabled ? 'Active' : 'Inactive'
You can use the ternary operator to perform single line if-then-else logic expressions.
user.enabled ? 'Active' : 'Inactive'