MongoDB\BSON\Iterator::valid

(mongodb >=1.16.0)

MongoDB\BSON\Iterator::validChecks if current position is valid

Description

public MongoDB\BSON\Iterator::valid(): bool

Parameters

This function has no parameters.

Return Values

Returns true if the current iterator position is valid, false otherwise.

See Also