hypertune
Version:
[Hypertune](https://www.hypertune.com/) is the most flexible platform for feature flags, A/B testing, analytics and app configuration. Built with full end-to-end type-safety, Git-style version control and local, synchronous, in-memory flag evaluation. Opt
13 lines • 747 B
TypeScript
import { Expression, Logs, Value } from "../types";
export declare const complexFormExpressionEvaluationError = "After evaluating your expression, the result was still in a complex form. If you've made breaking changes to your schema like adding a new field argument, you may need to re-run code generation and fix the type errors.";
/**
* Expression evaluation takes a fully reduced expression in "normal form" and
* converts it to a JSON value. It returns this value with "logs" that track
* all of the expressions we've needed to evaluate to compute this final value.
*/
export default function evaluate(expression: Expression): {
value: Value;
logs: Logs;
shouldLogEvaluation: boolean;
};
//# sourceMappingURL=evaluate.d.ts.map