ternary operator laravel blade
snippet in php

ternary operator laravel blade

user7999

//laravel
{{ condition ? 'yes' : 'no' }}