for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Conia\Quma;
class Util
{
public static function isAssoc(array $arr): bool
if ([] === $arr) {
return false;
}
return array_keys($arr) !== range(0, count($arr) - 1);