| 716 | const JSValueFunctionFactory& factory) { |
| 717 | if (!jsContext.isValueFunction(jsValue)) { |
| 718 | throwInvalidType(jsContext, jsValue, exceptionTracker, ValueType::Function); |
| 719 | return nullptr; |
| 720 | } |
| 721 | |
| 722 | return jsFunctionToFunction(jsContext, jsValue, referenceInfoBuilder, exceptionTracker, factory); |
| 723 | } |
no test coverage detected