- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
19 lines
558 B
JavaScript
19 lines
558 B
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = extractValueFromFunctionExpression;
|
|
/**
|
|
* Extractor function for a FunctionExpression type value node.
|
|
* Statically, we can't execute the given function, so just return a function
|
|
* to indicate that the value is present.
|
|
*
|
|
* @param - value - AST Value object with type `FunctionExpression`
|
|
* @returns - The extracted value converted to correct type.
|
|
*/
|
|
function extractValueFromFunctionExpression(value) {
|
|
return function () {
|
|
return value;
|
|
};
|
|
} |