function assertMainIsFunction()

in knative-build/runtimes/javascript/runner.js [53:60]


        function assertMainIsFunction() {
            DEBUG.dumpObject(thisRunner.userScriptMain,"this.Runner.userScriptMain");
            if (typeof thisRunner.userScriptMain !== 'function') {
                DEBUG.functionEndError("ERROR: Action entrypoint '" + message.main + "' is not a function.");
                throw "Action entrypoint '" + message.main + "' is not a function.";
            }
            DEBUG.functionEnd();
        }