src/Utils.php
public static function validateArray(\Closure $closure, array $values): bool
	{
		foreach ($values as $value)
			if (!$closure($value))
				return false;

		return true;
	}
public static function validateArray(\Closure $closure, array $values): bool
	{
		foreach ($values as $value)
			if (!$closure($value))
				return false;

		return true;
	}
@param \Closure $closure
@param array $values

@return bool