public function SObject::hasField in Salesforce Suite 8.4
Same name and namespace in other branches
- 5.0.x 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);
}