(objectLiteral, key, key2)
| 15804 | } |
| 15805 | ts.isThisTypePredicate = isThisTypePredicate; |
| 15806 | function getPropertyAssignment(objectLiteral, key, key2) { |
| 15807 | return objectLiteral.properties.filter(function (property) { |
| 15808 | if (property.kind === 296 /* SyntaxKind.PropertyAssignment */) { |
| 15809 | var propName = tryGetTextOfPropertyName(property.name); |
| 15810 | return key === propName || (!!key2 && key2 === propName); |
| 15811 | } |
| 15812 | return false; |
| 15813 | }); |
| 15814 | } |
| 15815 | ts.getPropertyAssignment = getPropertyAssignment; |
| 15816 | function getPropertyArrayElementValue(objectLiteral, propKey, elementValue) { |
| 15817 | return ts.firstDefined(getPropertyAssignment(objectLiteral, propKey), function (property) { |
no test coverage detected