私はこのようなものが必要です:
@if ($array.length > 0)
{{-- expr --}}
@endif
これは可能ですか?
It is possible with the count
function, like so:
@if (count($array) > 0)
{{-- expr --}}
@endif
You can use the PHP count function to count the length of an array.