(object, methodName, argumentsList)
| 26685 | : factory.createStrictEquality(createTypeOfExpression(value), createStringLiteral(tag)); |
| 26686 | } |
| 26687 | function createMethodCall(object, methodName, argumentsList) { |
| 26688 | // Preserve the optionality of `object`. |
| 26689 | if (ts.isCallChain(object)) { |
| 26690 | return createCallChain(createPropertyAccessChain(object, /*questionDotToken*/ undefined, methodName), |
| 26691 | /*questionDotToken*/ undefined, |
| 26692 | /*typeArguments*/ undefined, argumentsList); |
| 26693 | } |
| 26694 | return createCallExpression(createPropertyAccessExpression(object, methodName), |
| 26695 | /*typeArguments*/ undefined, argumentsList); |
| 26696 | } |
| 26697 | function createFunctionBindCall(target, thisArg, argumentsList) { |
| 26698 | return createMethodCall(target, "bind", __spreadArray([thisArg], argumentsList, true)); |
| 26699 | } |
no test coverage detected