PHP 8.1.0 Alpha 1 available for testing


(mongodb >=1.9.0)

MongoDB\Driver\Cursor::validChecks if the current position in the cursor is valid


public MongoDB\Driver\Cursor::valid ( ) : bool


This function has no parameters.

Return Values

true if the current cursor position is valid, false otherwise.

See Also

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top