src/EasyDB.php
public function exists(string $statement, ...$params): bool
    {
        /**
         * @var string|int|float|bool|null $result
         */
        $result = $this->single($statement, $params);
        return !empty($result);
    }
public function exists(string $statement, ...$params): bool
    {
        /**
         * @var string|int|float|bool|null $result
         */
        $result = $this->single($statement, $params);
        return !empty($result);
    }
public function exists ( string $ statement , ... $ params ) : bool { /**
         * @var string|int|float|bool|null $result
         */ $ result = $ this -> single ( $ statement , $ params ) ; return ! empty ( $ result ) ; }
Use with SELECT COUNT queries to determine if a record exists.

@param          string $statement
@param          mixed  ...$params
@return         bool
@psalm-suppress MixedAssignment
Use with SELECT COUNT queries to determine if a record exists .