src/Asserts/Categories/AssertCountableTrait.php
public static function assertEmpty($countableElement, Throwable $exception): bool
    {
        static::makeAssertion(0 === \count($countableElement), $exception);
        return true;
    }
public static function assertEmpty($countableElement, Throwable $exception): bool
    {
        static::makeAssertion(0 === \count($countableElement), $exception);
        return true;
    }
public static function assertEmpty ( $ countableElement , Throwable $ exception ) : bool { static :: makeAssertion ( 0 === \ count ( $ countableElement ) , $ exception ) ; return true ; }
Asserts that the given array is empty.

@param array|\Countable $countableElement The array or the countable object to assert its emptiness.
@param Throwable $exception The exception to throw if the assertion fails.
@return bool
Asserts that the given array is empty .