(name)
| 10570 | return null; |
| 10571 | } |
| 10572 | findAttribute(name) { |
| 10573 | const slot = this.findAttributeSlot(name); |
| 10574 | if (slot !== null) { |
| 10575 | return this._attributes[slot].type; |
| 10576 | } |
| 10577 | return null; |
| 10578 | } |
| 10579 | hasAttribute(name) { |
| 10580 | return this._attributes.find((attr) => attr.name === name); |
| 10581 | } |
no test coverage detected