src/Jsonq.php
public function first($object = false)
    {
        $this->prepare();

        $data = $this->_map;
        if (count($data) > 0) {
            return $this->prepareResult(reset($data), $object);
        }

        return null;
    }
public function first($object = false)
    {
        $this->prepare();

        $data = $this->_map;
        if (count($data) > 0) {
            return $this->prepareResult(reset($data), $object);
        }

        return null;
    }
public function first ( $ object = false ) { $ this -> prepare ( ) ; $ data = $ this -> _map ; if ( count ( $ data ) > 0 ) { return $ this -> prepareResult ( reset ( $ data ) , $ object ) ; } return null ; }
getting first element of prepared data

@param bool $object
@return object|array|null
@throws ConditionNotAllowedException
getting first element of prepared data