Get a Value by its property
()
| 123 | |
| 124 | /** Get a Value by its property */ |
| 125 | getClasses(): string[] { |
| 126 | const classesVal = this.get(properties.isA); |
| 127 | if (classesVal == undefined) { |
| 128 | // throw new Error(`not found property ${propUrl} in ${this.subject}`); |
| 129 | return []; |
| 130 | } |
| 131 | try { |
| 132 | const arr = valToArray(classesVal); |
| 133 | return arr; |
| 134 | } catch (e) { |
| 135 | return []; |
| 136 | } |
| 137 | } |
| 138 | |
| 139 | /** |
| 140 | * Returns the current Commit Builder, which describes the pending changes of |
no test coverage detected