@factoryfour/jexl
Version:
Factory Four Jexl Implementation
6 lines (5 loc) • 323 B
TypeScript
import jexl from 'jexl';
import { Context } from 'jexl/Expression';
declare const evaluateString: (templateText: string, context?: Context | undefined) => string;
declare const evaluateBoolean: (toEvaluate: string, context?: Context | undefined, def?: boolean) => boolean;
export { evaluateBoolean, evaluateString, jexl };