Files
NapCatQQ/.pnpm-store/v3/files/57/d36572b6f3784080a28fe3dbdc8c88bfbe33d2e216fcbbff811344362d1cec363f7ccb4311d6fcee58203ef64256a04d358ea7af50fe3ee326f7f3e2c9f9e3
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

12 lines
416 B
Plaintext

/**
* 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.
*/
export default function extractValueFromFunctionExpression(value) {
return () => value;
}