php8.5
Home/ Manual/ driver / server/ MongoDB\Driver\Server::isArbiter

MongoDB\Driver\Server::isArbiter

PHP function Edit on GitHub ✎

(mongodb >=1.0.0)

Checks if this server is an arbiter member of a replica set

Description

MongoDB\Driver\Server::isArbiter(): bool

Returns whether this server is an arbiter member of a replica set.

Parameters Parameters

Return Values

Returns true if this server is an arbiter member of a replica set, and false otherwise.

Errors/Exceptions

See Also

Source: reference/mongodb/mongodb/driver/server/isarbiter.xml · from the official PHP manual (php/doc-en)