MongoDB\BSON\PackedArray::offsetExists
(mongodb >=1.17.0)
MongoDB\BSON\PackedArray::offsetExists — Returns whether a index is present in the array
Parameters
key
The index to look for in the array.
See Also
- ArrayAccess::offsetExists() - Whether an offset exists
- MongoDB\BSON\PackedArray::has() - Returns whether a index is present in the array
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
