PHP 8.6.0 Alpha 2 available for testing

MongoDB\BSON\PackedArray::has

(mongodb >=1.16.0)

MongoDB\BSON\PackedArray::hasIndica si un índice está presente en el array

Descripción

final public function MongoDB\BSON\PackedArray::has(int $index): bool

Parámetros

index (int)
El índice a buscar en el array.

Valores devueltos

Devuelve true si el índice está presente en el array, de lo contrario false.

Errores/Excepciones

Véase también

add a note

User Contributed Notes

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