Summary
Determines whether an object has a property.
Description
Returns a boolean indicating whether the object has the specified property as its own property (as opposed to inheriting it).
Route
No Northbound API Available
Roles
Parameters
DetailsExampleSchema
| Name | Type | Required | Description |
|---|---|---|---|
| obj | object | yes | The object to test |
| prop | string | yes | The string name of the property to check |
Return
DetailsExampleSchema
| Name | Type | Description |
|---|---|---|
| result | boolean | A boolean indicating whether or not the object has the specified property as own property |