📅  最后修改于: 2022-03-11 14:53:47.256000             🧑  作者: Mango
You can use the php count function to count the length of an array.
http://php.net/manual/en/function.count.php
EXAMPLE:
@if (count($array) > 0)
{{-- expr --}}
@endif