* Get a property's value. * * @param {String} propertyName Name of the property to get the value of * * @returns {*} Current property value if found, else null
(propertyName: string)
| 343 | * @returns {*} Current property value if found, else null |
| 344 | */ |
| 345 | getProperty(propertyName: string): any|null { |
| 346 | const prop = this.findProperty(propertyName); |
| 347 | if (prop) { |
| 348 | return prop.getValue(); |
| 349 | } |
| 350 | |
| 351 | return null; |
| 352 | } |
| 353 | |
| 354 | /** |
| 355 | * Get a mapping of all properties and their values. |
no test coverage detected