Asserts that a value is a DOM Element.
(value: any)
| 507 | |
| 508 | /** Asserts that a value is a DOM Element. */ |
| 509 | function assertDomElement(value: any) { |
| 510 | if (typeof Element !== 'undefined' && !(value instanceof Element)) { |
| 511 | throw new Error('Expecting instance of DOM Element'); |
| 512 | } |
| 513 | } |
| 514 | |
| 515 | /** |
| 516 | * A directive definition holds additional metadata using bitwise flags to indicate |
no outgoing calls
no test coverage detected