public function SObject::hasField in Salesforce Suite 5.0.x
Same name and namespace in other branches
- 8.4 src/SObject.php \Drupal\salesforce\SObject::hasField()
Given $key, return corresponding field value.
Return value
mixed|false The value.
File
- src/
SObject.php, line 125
Class
- SObject
- Class SObject.
Namespace
Drupal\salesforceCode
public function hasField($key) {
return array_key_exists($key, $this->fields);
}