MongoCursor::valid
(PECL mongo >=0.9.0)
MongoCursor::valid — Checks if the cursor is reading a valid result.
Description
public boolean MongoCursor::valid
( void
)
Parameters
This function has no parameters.
Return Values
If the current result is not null.