MongoDB\BSON\Iterator::valid

Checks if current position is valid

Description

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

Parameters

This function has no parameters.

Return Values

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

See Also

  • Iterator::valid