PHP Conference Kansai 2025

MongoDB\BSON\PackedArray::has

(mongodb >=1.16.0)

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

Descripción

final public 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

Ver también

add a note

User Contributed Notes

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