* Find a property by name. * * @param {String} propertyName Name of the property to find * * @returns {(Object|null)} Property if found, else null
(propertyName: string)
| 328 | * @returns {(Object|null)} Property if found, else null |
| 329 | */ |
| 330 | findProperty(propertyName: string): Property|null { |
| 331 | if (this.properties.hasOwnProperty(propertyName)) { |
| 332 | return this.properties[propertyName]; |
| 333 | } |
| 334 | |
| 335 | return null; |
| 336 | } |
| 337 | |
| 338 | /** |
| 339 | * Get a property's value. |
no outgoing calls
no test coverage detected