* Used with .filter() to find the constructor method in a list of * MethodDefinition nodes. * * @param {object} classElement * @return {boolean}
(classElement)
| 13652 | * @return {boolean} |
| 13653 | */ |
| 13654 | function _isConstructorMethod(classElement) { |
| 13655 | return classElement.type === Syntax.MethodDefinition && |
| 13656 | classElement.key.type === Syntax.Identifier && |
| 13657 | classElement.key.name === 'constructor'; |
| 13658 | } |
| 13659 | |
| 13660 | /** |
| 13661 | * @param {object} node |
no outgoing calls
no test coverage detected