MongoDB\Driver\Cursor::valid

(mongodb >=1.9.0)

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

Description

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

Parameters

This function has no parameters.

Return Values

TRUE if the current cursor position is valid, FALSE otherwise.

See Also