MongoCommandCursor
PHP Manual

MongoCommandCursor::valid

(No version information available, might only be in Git)

MongoCommandCursor::validFetches a new result item, and returns whether it could

Description

public bool MongoCommandCursor::valid ( void )

Parameters

This function has no parameters.

Return Values

TRUE if a next item could be returned, and FALSE otherwise.


MongoCommandCursor
PHP Manual