laravel @if in datatables column
i have delete column that has delete button, i tried use @if ... @endif but the value is returning false @if(' + data.name +' == "Admin")<a class="ml-1 btnid delete-button btn btn-outline-danger" href="javascript:void(0)" data-bs-toggle="modal" data-bs-target="#modal-small2">Delete </a> @endif the data.name output is…