PHP 8.1.31 Released!

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

add a note

User Contributed Notes

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