private function queryBoolean(string $function, ...$parameters) : bool
    {
        [$result] = $this->query($function, $parameters, false);

        if ($result === null || $result === -1) { // SQLite3 returns -1 when calling a boolean GIS function on a NULL result.
            throw GeometryEngineException::operationYieldedNoResult();
        }

        return (bool) $result;
    }
private function queryBoolean(string $function, ...$parameters) : bool
    {
        [$result] = $this->query($function, $parameters, false);

        if ($result === null || $result === -1) { // SQLite3 returns -1 when calling a boolean GIS function on a NULL result.
            throw GeometryEngineException::operationYieldedNoResult();
        }

        return (bool) $result;
    }
private function queryBoolean ( string $ function , ... $ parameters ) : bool { [ $ result ] = $ this -> query ( $ function , $ parameters , false ) ; if ( $ result === null || $ result === - 1 ) { // SQLite3 returns -1 when calling a boolean GIS function on a NULL result. throw GeometryEngineException :: operationYieldedNoResult ( ) ; } return ( bool ) $ result ; }
Queries a GIS function returning a boolean value.

@param string   $function   The SQL GIS function to execute.
@param mixed ...$parameters The Geometry objects or scalar values to pass as parameters.

@return bool

@throws GeometryEngineException
Queries a GIS function returning a boolean value .