php8.5
Home/ Manual/ solr / solrobject/ SolrObject::offsetExists

SolrObject::offsetExists

PHP function Edit on GitHub ✎

(PECL solr >= 0.9.2)

Checks if the property exists

Description

SolrObject::offsetExists(string $property_name): bool

Checks if the property exists. This is used when the object is treated as an array.

Parameters

property_name

The name of the property.

Return Values

Success

Source: reference/solr/solrobject/offsetexists.xml · from the official PHP manual (php/doc-en)