{"version":3,"file":"getResult.cjs","sources":["../../src/utils/getResult.js"],"sourcesContent":["/**\n * Evaluate the expression. If it's a function, call it with the provided context and return the result.\n * Otherwise, return the expression as is.\n * @param {any} expression Expression to be evaluated.\n * @param {any} context Context to call the expression.\n * @param {...any} args Arguments to pass to the expression.\n * @return {any} The result of the expression.\n * @module\n * @private\n */\nconst getResult = (expression, context, ...args) =>\n    typeof expression !== 'function' ? expression :\n        expression.apply(context, args);\n\nexport default getResult;\n"],"names":[],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACK,MAAC,SAAS,GAAG,CAAC,UAAU,EAAE,OAAO,EAAE,GAAG,IAAI;AAC/C,IAAI,OAAO,UAAU,KAAK,UAAU,GAAG,UAAU;AACjD,QAAQ,UAAU,CAAC,KAAK,CAAC,OAAO,EAAE,IAAI;;;;"}