docs/libs/typescript.js
function isDeclarationOfFunctionExpression(s) {
        if (s.valueDeclaration && s.valueDeclaration.kind === 218 /* VariableDeclaration */) {
            var declaration = s.valueDeclaration;
            return declaration.initializer && declaration.initializer.kind === 179 /* FunctionExpression */;
        }
        return false;
    }
function isDeclarationOfFunctionExpression(s) {
        if (s.valueDeclaration && s.valueDeclaration.kind === 218 /* VariableDeclaration */) {
            var declaration = s.valueDeclaration;
            return declaration.initializer && declaration.initializer.kind === 179 /* FunctionExpression */;
        }
        return false;
    }
function isDeclarationOfFunctionExpression ( s ) { if ( s . valueDeclaration && s . valueDeclaration . kind === 218 /* VariableDeclaration */ ) { var declaration = s . valueDeclaration ; return declaration . initializer && declaration . initializer . kind === 179 /* FunctionExpression */ ; } return false ; }
Returns true if the node is a variable declaration whose initializer is a function expression.
This function does not test if the node is in a JavaScript file or not.
Returns true if the node is a variable declaration whose initializer is a function expression . This function does not test if the node is in a JavaScript file or not .