array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'mongodb-bson-document.offsetexists.php', 1 => 'MongoDB\\BSON\\Document::offsetExists', 2 => 'Returns whether a key is present in the document', ), 'up' => array ( 0 => 'class.mongodb-bson-document.php', 1 => 'MongoDB\\BSON\\Document', ), 'prev' => array ( 0 => 'mongodb-bson-document.has.php', 1 => 'MongoDB\\BSON\\Document::has', ), 'next' => array ( 0 => 'mongodb-bson-document.offsetget.php', 1 => 'MongoDB\\BSON\\Document::offsetGet', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/bson/document/offsetexists.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

MongoDB\BSON\Document::offsetExists

(mongodb >=1.17.0)

MongoDB\BSON\Document::offsetExistsReturns whether a key is present in the document

Açıklama

final public MongoDB\BSON\Document::offsetExists(mixed $key): bool

Bağımsız Değişkenler

key

The key to look for in the document.

Dönen Değerler

Returns true if the key is present in the document and false otherwise.

Ayrıca Bakınız